https://bugzilla.wikimedia.org/show_bug.cgi?id=36505
Web browser: ---
Bug #: 36505
Summary: When editing an existing page with a form that has a
new field, the default for the new field should be set
Product: MediaWiki extensions
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Unprioritized
Component: SemanticForms
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
Steps to replicate:
- Create a form
- Create page xyz with the form
- Modify the form and add radiobutton field abc, mandatory, with default=Yes
and values=Yes,No
- Edit page xyz
=> Field abc will show None, Yes, and No, and None will be set. If you save it
without changing it, a warning will show up telling you that it needs to be set
(to Yes or No).
The basis for SF is to not automatically modify existing data. But in this
case, the field didn't exist since it wasn't on the original page. Setting it
to the default in this case seems resonable and consistent, especially when
considering that the field may not be obvious on the form (e.g. way down the
page, or on tab 5, or under a hidden area, etc.).
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l