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
0001197 [In-Portal CMS] Template System feature request N/A 2012-01-31 09:54 2012-07-25 05:31
Reporter alex View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.2.0-B2
Status closed Product Version 5.1.3 Target Version 5.2.0
Time EstimateNo estimate
Summary 0001197: Array support in m_Get tag
Description In-Portal has m_Get tag, that is allows to display data, that was passed from web-browser, like url parameter or form field value right on the template.
This can be easily achieved by <inp2:m_Get name="url_param_name"/> tag.

However, when it comes to multi-dimensional data structures on forms, e.g. input name on a form is like "some_name[sub_key][another_key]", then m_Get tag fails to display this, because PHP converts these keys into arrays, that should be accessed differently.

Here is the patch for square bracket support in m_Get tag.
Additional Information
Tags No tags attached.
Reference https://groups.google.com/d/topic/in-portal-dev/CVJ7Cn-f8HQ/discussion
Change Log Message Added array support in m_Get tag
Estimate Points 1
Attached Files patch file icon array_support_in_mget_tag_feat.patch [^] (856 bytes) 2012-01-31 09:54 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
User avatar (0004437)
alex (manager)
2012-01-31 09:55

Will test all together later.
User avatar (0004438)
alex (manager)
2012-01-31 09:56

Fix committed to 5.2.x branch. Commit Message:

Fixes 0001197: Array support in m_Get tag
User avatar (0004983)
alex (manager)
2012-07-25 05:31

Since 5.2.0 version was released.

- Related Changesets
In-Portal CMS: 5.2.x r15099
Timestamp: 2012-01-31 09:56:15
Author: alex
Details ] Diff ]
Fixes 0001197: Array support in m_Get tag
mod - /in-portal/branches/5.2.x/core/kernel/processors/main_processor.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2012-07-25 05:31 alex Note Added: 0004983
2012-07-25 05:31 alex Status resolved => closed
2012-01-31 10:07 alex Category Front End => Template System
2012-01-31 09:56 alex Note Added: 0004438
2012-01-31 09:56 alex Status reviewed and tested => resolved
2012-01-31 09:56 alex Fixed in Version => 5.2.0-B2
2012-01-31 09:56 alex Resolution open => fixed
2012-01-31 09:56 alex Assigned To !COMMUNITY => alex
2012-01-31 09:56 alex Changeset attached 5.2.x r15099
2012-01-31 09:55 alex Note Added: 0004437
2012-01-31 09:55 alex Status needs testing => reviewed and tested
2012-01-31 09:55 alex Assigned To => !COMMUNITY
2012-01-31 09:55 alex Developer => alex
2012-01-31 09:55 alex Status active => needs testing
2012-01-31 09:55 alex Reference => https://groups.google.com/d/topic/in-portal-dev/CVJ7Cn-f8HQ/discussion
2012-01-31 09:54 alex File Added: array_support_in_mget_tag_feat.patch
2012-01-31 09:54 alex Change Log Message => Added array support in m_Get tag
2012-01-31 09:54 alex Estimate Points => 1
2012-01-31 09:54 alex New Issue



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

Powered by Mantis Bugtracker