[MAGNOLIA-1854] ContentNodeIterator JSP tag isn't working when imported with 3.5 RC1 Created: 17/Nov/07  Updated: 23/Jan/13  Resolved: 27/Nov/07

Status: Closed
Project: Magnolia
Component/s: taglibs
Affects Version/s: 3.5 RC1
Fix Version/s: 3.5 RC2

Type: Bug Priority: Blocker
Reporter: Keith Childers Assignee: Jan Haderka
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

WinXP, Tomcat 5.5


Issue Links:
dependency
depends upon MAGNOLIA-1746 taglibs: support passing node object,... Closed
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   

In 3.1m3 and 3.0.5 extracting the .tld files from /META-INF inside the tag library jar and placing them into a path where they could be made available to other JEE apps (like ColdFusion) worked perfectly. Now I try to call <cms:contentNodeIterator> from within one of my custom templates that worked in 3.1m3 and I get this error:

The tag handler contentNodeIterator does not have a setter for the attribute contentNode specified in the Tag Library Descriptor.

I opened up the .tld file and sure enough there are attributes in the tag descriptor that aren't defined or set in the ContentNodeIterator class.

Mysteriously .jsp templates that came with 3.5 samples module are working fine. Any insight?



 Comments   
Comment by Magnolia International [ 17/Nov/07 ]

Were you actually using the contentNode attribute, or is just your appserver being picky ?

Comment by Keith Childers [ 17/Nov/07 ]

I wasn't using it, my app server just refused to execute the tag because the descriptor didn't match the class structure.

Comment by Magnolia International [ 17/Nov/07 ]

Hmm, looks like a commit slip from MAGNOLIA-1746 to me.
Thanks for the report !

Comment by Philipp Bracher [ 20/Nov/07 ]

Blocker

Comment by Jan Haderka [ 27/Nov/07 ]

Solved as part of MAGNOLIA-1746.

Generated at Mon Feb 12 03:30:58 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.