noosfero | Adds a validation when applying profile templates (!1253)
Gabriel Silva
gitlab at mg.gitlab.com
Thu Jun 22 21:52:13 BRT 2017
New Merge Request !1253
https://gitlab.com/noosfero/noosfero/merge_requests/1253
Project:Branches: gabrielssilva/noosfero:template_validation to noosfero/noosfero:master
Author: Gabriel Silva
Assignee:
Closes #191
Adds a validation to the `apply_template` method, so a profile that is not a template can't be applied as such, avoiding validation errors.
The template validation was not removed from the profile. It is important to make sure template_id points to a template, since it can be modified without using `apply_template`.
---
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1253
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20170623/66ebfc20/attachment.html>
More information about the Noosfero-dev
mailing list