In-Portal Issue Tracker - In-Portal CMS
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Type: | Reproducibility: | Date Submitted: | Last Update: |
674 | [In-Portal CMS] Template System | bug report | N/A | 2010-03-30 04:54 | 2010-11-30 12:48 |
|
|||||
Reporter: | alex | Platform: | |||
Assigned To: | alex | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 5.0.3-B1 | ||
Product Build: | Resolution: | fixed | |||
ETA: | none | Fixed in Version: | 5.1.1-B1 | ||
Reference: | http://groups.google.com/group/in-portal-dev/browse_thread/thread/8daad408a141c040 | ||||
Change Log Message: | |||||
Estimate Points: | 0 | ||||
|
|||||
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: | |||||
Relationships | |||||
Attached Files: |
block_no_data_for_mIfDataExists_tag.patch (713) 2010-03-30 04:54 http://tracker.in-portal.org/file_download.php?file_id=426&type=bug |
||||
|
|||||
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 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|