In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0001149 [In-Portal CMS] Front End bug report always 2011-10-19 03:09 2012-07-25 05:33
Reporter alex View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.2.0-B1
Status closed Product Version 5.1.3 Target Version 5.2.0
Time EstimateNo estimate
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"/>
Additional Information
Tags No tags attached.
Change Log Message Fixes FieldModifier tag inability to work with multilingual fields
Estimate Points 1
Attached Files patch file icon fieldmodifier_tag_ml_field_fix_520.patch [^] (2,710 bytes) 2011-10-19 03:09 [Show Content]
patch file icon fieldmodifier_tag_ml_field_fix_513.patch [^] (2,902 bytes) 2011-10-19 03:09 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to 0001029closed (5.1.3)alex Unable to create a link with required multilingual custom field 
related to 0001030closed (5.1.3)alex Multilingual custom fields not recorded on "Suggest Link" form 
related to 0000684closed (Icebox) Redesign "Custom" tab on Section and Catalog Item editing screens 

-  Notes
User avatar (0004071)
alex (manager)
2011-10-19 03:14

Will test all together later.
User avatar (0004072)
alex (manager)
2011-10-19 03:15

Fix committed to 5.2.x branch. Commit Message:

Fixes 0001149: Tag FieldModifier doesn't work with multilingual fields
User avatar (0005119)
alex (manager)
2012-07-25 05:33

Since 5.2.0 version was released.

- Related Changesets
In-Portal CMS: 5.2.x r14673
Timestamp: 2011-10-19 03:15:30
Author: alex
Details ] Diff ]
Fixes 0001149: Tag FieldModifier doesn't work with multilingual fields
mod - /in-portal/branches/5.2.x/core/kernel/kbase.php Diff ] File ]

- 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 =>
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

Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker