In-Portal Issue Tracker - In-Portal CMS
|
||||||||||||||||||||
Viewing Issue Advanced Details | ||||||||||||||||||||
|
||||||||||||||||||||
ID: | Category: | Type: | Reproducibility: | Date Submitted: | Last Update: | |||||||||||||||
1149 | [In-Portal CMS] Front End | bug report | always | 2011-10-19 03:09 | 2012-07-25 05:33 | |||||||||||||||
|
||||||||||||||||||||
Reporter: | alex | Platform: | ||||||||||||||||||
Assigned To: | alex | OS: | ||||||||||||||||||
Priority: | normal | OS Version: | ||||||||||||||||||
Status: | closed | Product Version: | 5.1.3 | |||||||||||||||||
Product Build: | Resolution: | fixed | ||||||||||||||||||
ETA: | none | Fixed in Version: | 5.2.0-B1 | |||||||||||||||||
Reference: | https://groups.google.com/d/topic/in-portal-bugs/k1YXsVFQgKU/discussion | |||||||||||||||||||
Change Log Message: | Fixes FieldModifier tag inability to work with multilingual fields | |||||||||||||||||||
Estimate Points: | 1 | |||||||||||||||||||
|
||||||||||||||||||||
Summary: | 0001149: Tag FieldModifier doesn't work with multilingual fields | |||||||||||||||||||
Description: |
Tag FieldModifier can be used to make fields on form required from template (not from PHP). This can be very useful if you don't know PHP, but not very secure, since removing hidden fields, created by FieldModifier tag (from form submit) will also make fields not required. FieldModifier tag should be placed within hidden field's name before actual field (to be required) is shown, for example: <input type="hidden" name="<inp2:l_FieldModifier field='cust_LinkAddress' type='required' value='1'/>" value="1"/> <inp2:m_RenderElement name="inp_edit_box" prefix="l" field="cust_LinkAddress" title="lu_fld_LinkAddress"/> But this tag isn't working at all, when you try to make multilingual custom field required (don't show "*" mark near field name & don't check if it was filled on submit). For example this has no effect: <input type="hidden" name="<inp2:l_FieldModifier field='cust_MLField' type='required' value='1'/>" value="1"/> <inp2:m_RenderElement name="inp_edit_box_ml" prefix="l" field="cust_MLField" title="lu_fld_MLField"/> |
|||||||||||||||||||
Steps To Reproduce: | ||||||||||||||||||||
Additional Information: | ||||||||||||||||||||
Relationships |
| |||||||||||||||||||
Attached Files: |
fieldmodifier_tag_ml_field_fix_520.patch (2,710) 2011-10-19 03:09 http://tracker.in-portal.org/file_download.php?file_id=1256&type=bug fieldmodifier_tag_ml_field_fix_513.patch (2,902) 2011-10-19 03:09 http://tracker.in-portal.org/file_download.php?file_id=1257&type=bug |
|||||||||||||||||||
|
||||||||||||||||||||
Issue History | ||||||||||||||||||||
Date Modified | Username | Field | Change | |||||||||||||||||
2012-07-25 05:33 | alex | Note Added: 0005119 | ||||||||||||||||||
2012-07-25 05:33 | alex | Status | resolved => closed | |||||||||||||||||
2011-10-22 05:26 | alex | Estimate Points | => 1 | |||||||||||||||||
2011-10-19 03:15 | alex | Note Added: 0004072 | ||||||||||||||||||
2011-10-19 03:15 | alex | Status | reviewed and tested => resolved | |||||||||||||||||
2011-10-19 03:15 | alex | Fixed in Version | => 5.2.0-B1 | |||||||||||||||||
2011-10-19 03:15 | alex | Resolution | open => fixed | |||||||||||||||||
2011-10-19 03:15 | alex | Assigned To | !COMMUNITY => alex | |||||||||||||||||
2011-10-19 03:15 | alex | Changeset attached | 5.2.x r14673 | |||||||||||||||||
2011-10-19 03:14 | alex | Note Added: 0004071 | ||||||||||||||||||
2011-10-19 03:14 | alex | Status | needs testing => reviewed and tested | |||||||||||||||||
2011-10-19 03:14 | alex | Assigned To | => !COMMUNITY | |||||||||||||||||
2011-10-19 03:14 | alex | Developer | => alex | |||||||||||||||||
2011-10-19 03:14 | alex | Status | active => needs testing | |||||||||||||||||
2011-10-19 03:14 | alex | Reference | => https://groups.google.com/d/topic/in-portal-bugs/k1YXsVFQgKU/discussion | |||||||||||||||||
2011-10-19 03:11 | alex | Relationship added | related to 0000684 | |||||||||||||||||
2011-10-19 03:11 | alex | Relationship added | related to 0001030 | |||||||||||||||||
2011-10-19 03:10 | alex | Relationship added | related to 0001029 | |||||||||||||||||
2011-10-19 03:09 | alex | File Added: fieldmodifier_tag_ml_field_fix_513.patch | ||||||||||||||||||
2011-10-19 03:09 | alex | New Issue | ||||||||||||||||||
2011-10-19 03:09 | alex | File Added: fieldmodifier_tag_ml_field_fix_520.patch | ||||||||||||||||||
2011-10-19 03:09 | alex | Change Log Message | => Fixes FieldModifier tag inability to work with multilingual fields |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|