[jira] Created: (XDP-227) hibernate.bag : name is an invalid parameter name
LAL Jérémy (JIRA) <jira-yCVjj/[email protected]> Mon, 17 Mar 2008 20:07:49 -0500 (CDT)
| Newsgroups | gmane.comp.java.xdoclet-plugins |
|---|---|
| Message-ID | <20945245.1205802469636.JavaMail.haus-jira@codehaus01.managed.contegix.com> |
hibernate.bag : name is an invalid parameter name
-------------------------------------------------
Key: XDP-227
URL: http://jira.codehaus.org/browse/XDP-227
Project: XDoclet 2 Plugins
Issue Type: Bug
Components: hibernate
Affects Versions: 1.0.5, 1.0.4
Environment: linux debian sid, java 1.6 sun, compiling using ANT, target hibernate 3.0
Reporter: LAL Jérémy
Hello, i'm currently struggling to migrate from xdoclet to xdoclet 2... Please note i'm using xdoclet 2.0.7 as version 2.0.6 would not expand properties using ant tasks.
Now i get this error :
_____
java.lang.RuntimeException: @hibernate.bag name="testFieldValues" inverse="true" lazy="true" cascade="delete" outer-join="false"
in com.app.Content (line 235):
name is an invalid parameter name.
_____
i really don't understand why, because the corresponding Bag.jelly does define name (perhaps wrongly) :
_____
<j:jelly xmlns:j="jelly:core">
<j:set var="bagTag" value="${property.entity.getTagByName('hibernate.bag')}"/>
<j:if test="${bagTag != null}">
<bag
name="${property.name}"
access="${property.access}"
table="${bagTag.table}"
...
_____
But generated HibernateBagTagImpl.java does not define "name" in the ALLOWED_PARAMETERS list,
whereas the similarly defined "access" attribute is in the list.
I reproduce the bug with the latest 1.0.4 release i just downloaded, and also with the current svn.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/