[MAGNOLIA-971] CLONE -ifEmpty is not working properly Created: 12/Jul/06 Updated: 09/Nov/06 Resolved: 09/Nov/06 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | taglibs |
| Affects Version/s: | None |
| Fix Version/s: | 3.0 Final |
| Type: | Bug | Priority: | Minor |
| Reporter: | Yves-Marie DANIEL | Assignee: | Magnolia International |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Date of First Response: |
| Description |
|
from an email: i noticed some strange things with the core cms tags "ifNotEmpty" and "ifEmpty"... i have a content element 'textTitle', which has content set. so it's not empty (at least to my understanding i have following test code: <cms:ifNotEmpty nodeDataName="textTitle" > <cms:ifEmpty nodeDataName="textTitle" > the surprising result: i expect that i should get "A line of Text --> from 'if NOT empty' why that? i am not using a collection or so. simply a "top level" content element. |
| Comments |
| Comment by Yves-Marie DANIEL [ 12/Jul/06 ] |
|
The ifEmpty / ifNotEmpty bug is supposed to be fixed in 2.1, but with magnolia 3RC, i have exactly the same bug ! In fact with : <cms:ifEmpty nodeDataName="title"> The title is displayed !!! |
| Comment by Yves-Marie DANIEL [ 12/Jul/06 ] |
|
I am a bit new with magnolia. When you write "Fix version/s 3.0RC3", it means this bug is fixed ? But i still have the bug... ;-C |
| Comment by Yves-Marie DANIEL [ 13/Jul/06 ] |
|
The tags ifNotEmpty and ifEmpty don't work on a few pages... But i have used : <c:if test="${titre ne '' }"> and it works |
| Comment by Yves-Marie DANIEL [ 13/Jul/06 ] |
|
you can close this issue. Thanks |
| Comment by Magnolia International [ 09/Nov/06 ] |
|
Just tried this again out of consciousness - just works. |