]
Nick Belaevski updated RF-9892:
-------------------------------
Assignee: Nick Belaevski
Fix Version/s: Future_3.X
CDK duplicate methods generated in the Tag class, if first attribute
word is just one letter long.
--------------------------------------------------------------------------------------------------
Key: RF-9892
URL:
https://jira.jboss.org/browse/RF-9892
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: CDK
Affects Versions: 3.3.3.Final
Reporter: Paulo Pinto
Assignee: Nick Belaevski
Fix For: Future_3.X
Attachments: error.zip
I have the following situation:
- Attribute accessor methods are declared on the component base class as abstract
methods, to allow its access on the render class;
- Then the attribute is also declared on the component config file
This is a common pattern in CDK generated components, and it usually works. Now if the
attribute has a composed name (somethingLikeThis) where
the first word is one letter long (xAxis), then duplicate methods are generated in the
Tag class.
I will attach one example CDK project that shows the error. If you rename the xTitle
attribute to something else, which uses more than just x for the first
word, the CDK will generate proper code.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: