Bug 122904

Summary: error in bebop-define.tld and bebop-show.tld
Product: [Retired] Red Hat Enterprise CMS Reporter: Martin <mjdenham>
Component: uiAssignee: ccm-bugs-list
Status: CLOSED EOL QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 16:49:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin 2004-05-10 08:49:28 UTC
Description of problem:


Version-Release number of selected component (if applicable):6.1


How reproducible:
There is a mismatch between the tld (bebop-define.tld) and it's 
implementation (com.arsdigita.bebop.jsp.DefinePage) which does not 
appear to have a pmClass property

weblogic.servlet.jsp.JspException: (line 4): Error in using tag 
library uri='/WEB-INF/bebop-define.tld' prefix='define': The Tag 
class 'com.arsdigita.bebop.jsp.DefinePage' has no setter method 
corresponding to TLD declared attribute 'pmClass', (JSP 1.1 spec, 
5.4.1)
        at weblogic.servlet.jsp.StandardTagLib.tld_jspException
(StandardTagLib.java:1235)
        at weblogic.servlet.jsp.StandardTagLib.parseTagDD
(StandardTagLib.java:1363)
        at weblogic.servlet.jsp.StandardTagLib.parseDD
(StandardTagLib.java:1261)
        at weblogic.servlet.jsp.StandardTagLib.<init>
(StandardTagLib.java:292)
        at weblogic.servlet.jsp.TagLibHelper.loadTagLib
(TagLibHelper.java:314)
        at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:145)
        at weblogic.servlet.jsp.JspLexer.mXML_ROOT(JspLexer.java:3238)
        at weblogic.servlet.jsp.JspLexer.mXML_THING
(JspLexer.java:1917)
        at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1825)
        at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1753)
        at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:963)
        at weblogic.servlet.jsp.JspParser.doit(JspParser.java:106)
        at weblogic.servlet.jsp.JspParser.parse(JspParser.java:230)
        at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:125)
        at weblogic.utils.compiler.CodeGenerator.generate
(CodeGenerator.java:258)
        at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:367)
        at weblogic.servlet.jsp.JspStub.prepareServlet
(JspStub.java:223)
        at weblogic.servlet.jsp.JspStub.prepareServlet
(JspStub.java:172)
        at weblogic.servlet.internal.ServletStubImpl.getServlet
(ServletStubImpl.java:518)
        at weblogic.servlet.internal.ServletStubImpl.invokeServlet
(ServletStubImpl.java:362)
        at weblogic.servlet.internal.ServletStubImpl.invokeServlet
(ServletStubImpl.java:446)
        at weblogic.servlet.internal.ServletStubImpl.invokeServlet
(ServletStubImpl.java:305)
        at weblogic.servlet.internal.RequestDispatcherImpl.forward
(RequestDispatcherImpl.java:301)
        at com.arsdigita.dispatcher.DispatcherHelper.forwardHelper
(DispatcherHelper.java:193)
        at 
com.arsdigita.dispatcher.DispatcherHelper.forwardRequestByPath
(DispatcherHelper.java:222)
        
A similar problem occurs in bebop-show.tld

/packages/content-section/templates/default/item.jsp(4): Error in 
using tag library uri='/WEB-INF/bebop-show.tld' prefix='show': The 
Tag class 'com.arsdigita.bebop.jsp.ShowPage' has no setter method 
corresponding to TLD declared attribute 'pmClass', (JSP 1.1 spec, 
5.4.1)

If I delete the pmClass attribute from both .tld's I can preview an 
item.

thanks

Martin

Comment 1 Daniel Berrangé 2004-05-10 09:04:07 UTC
I've fixed this on the Tip at p4 #42567 by removing these two tag
entries. The corresponding Java methods were removed when we
integrated the new XSL template resolution & presentation maanger
infrastructure during the 6.0 development cycle. 

This still needs backporting to 6.0 release branch.