Details
-
Bug
-
Resolution: Invalid
-
Minor
-
None
-
2.4.1, 2.6
-
None
-
XE 2.6-SNAPSHOT.32286 (Mac OS X 10.5.8/Tomcat 6.0.18/MySQL 5.1.51/MySQL Connector J 5.1.13)
-
N/A
-
N/A
-
Description
To the best of my understanding, when a new property is set Database List type, "Id Field" is intendend to show a different value to the one to be stored in that property set with "Value Field".
After creating a custom class with only one property of type Database Listo to be populated with data coming from XWiki.XWikiUsers, I'm not getting the expecte behaviour:
1. If Id Field is set, both showed for selection and stored values are the ones set in Id Field.
2. If Both Id Field and Value Field are set, both showed and stored values are the ones set by Value Field.
3. If only Value Field is set, both showed for selection and stored values are the ones set in Value Field.
This error is registered in catalina.out:
2010-11-01 00:40:03,174 http://localhost:8080/xwiki/bin/edit/Team/01?xpage=editobject&xaction=addObject&className=XWiki.DummyUserClass WARN doc.XWikiDocument - Failed to display field [UsersList] in [view] mode for Object of Class [xwiki:Team.01]
java.lang.NullPointerException
I guess this is a "normal" exception that happens one one of the two (Id and Value) fields are not set.
But something seems to be wrong as I can't get this Id Field being shown.