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 Advanced Details Jump to Notes ] Wiki ] View Simple ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0000674 [In-Portal CMS] Template System bug report N/A 2010-03-30 04:54 2010-11-30 12:48
Reporter alex View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Platform
Status closed   OS
  OS Version
ETA none Fixed in Version 5.1.1-B1 Product Version 5.0.3-B1
  Target Version 5.1.1 Product Build
Time EstimateNo estimate
Summary 0000674: Add "block_no_data" parameter for m_IfDataExists tag
Description I propose to add "block_no_data" parameter for m_IfDataExists tag. Will work the same as for m_RenderElement, so this two will work the same, but less code will be required:

COMMON PART:

<inp2:m_DefineElement name="sample_element">
    <inp2:Field name="Name"/>
</inp2:m_DefineElement>

<inp2:m_DefineElement name="no_data">
    no data
</inp2:m_DefineElement>

OLD CASE:
<inp2:m_RenderElement name="sample_content" data_exists="1" block_no_data="no_data"/>

NEW CASE:
<inp2:m_IfDataExists block_no_data="no_data">
    <inp2:Field name="Name"/>
</inp2:m_IfDataExists>

At the end we have no need to create temporary block to use for data presence check.
Steps To Reproduce
Additional Information
Tags No tags attached.
Reference http://groups.google.com/group/in-portal-dev/browse_thread/thread/8daad408a141c040
Change Log Message
Estimate Points 0
Attached Files patch file icon block_no_data_for_mIfDataExists_tag.patch [^] (713 bytes) 2010-03-30 04:54 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
User avatar (0002693)
Dmitry (manager)
2010-08-27 16:02

Tested fine, but had to apply the patch by hand.

Please commit.
User avatar (0002698)
alex (manager)
2010-08-28 15:11

Fix committed to 5.1.x branch. Commit Message:

Fixes 0000674: Add "block_no_data" parameter for m_IfDataExists tag
User avatar (0003086)
Dmitry (manager)
2010-11-30 12:48

Closing released 5.1.1 task.

- Related Changesets
In-Portal CMS: 5.1.x r13865
Timestamp: 2010-08-28 15:11:50
Author: alex
Details ] Diff ]
Fixes 0000674: Add "block_no_data" parameter for m_IfDataExists tag
mod - /in-portal/branches/5.1.x/core/kernel/nparser/ntags.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2010-11-30 12:48 Dmitry Note Added: 0003086
2010-11-30 12:48 Dmitry Status resolved => closed
2010-08-28 15:11 alex Note Added: 0002698
2010-08-28 15:11 alex Status reviewed and tested => resolved
2010-08-28 15:11 alex Fixed in Version => 5.1.1-B1
2010-08-28 15:11 alex Resolution open => fixed
2010-08-28 15:11 alex Assigned To !COMMUNITY => alex
2010-08-28 15:11 alex Changeset attached 5.1.x r13865
2010-08-27 16:02 Dmitry Note Added: 0002693
2010-08-27 16:02 Dmitry Status needs testing => reviewed and tested
2010-08-27 12:24 Dmitry Type feature request => bug report
2010-08-27 12:24 Dmitry Target Version Icebox => 5.1.1
2010-03-30 04:55 alex Assigned To => !COMMUNITY
2010-03-30 04:55 alex Developer => alex
2010-03-30 04:55 alex Status active => needs testing
2010-03-30 04:54 alex New Issue
2010-03-30 04:54 alex File Added: block_no_data_for_mIfDataExists_tag.patch
2010-03-30 04:54 alex Reference => http://groups.google.com/group/in-portal-dev/browse_thread/thread/8daad408a141c040



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

Powered by Mantis Bugtracker