Bug #41
[XML persistence file] bad file generated
| Status: | Closed | Start: | 03/04/2009 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | Jonathan Clarke | % Done: | 100% |
|
| Category: | Core | |||
| Target version: | 1.1.0 | |||
| Problem in version: |
Description
There is actually a bug when XML persistence file are generated. This bad tag is present into the resultMap:
8<--------
<result property="attributeValues" column="attributeValues"/>
8<--------
When we launch LSC, it complains because XML file does not fit its corresponding JAVA object (and its flat object too I suppose).
Associated revisions
Fixes #41 - remove unused attribute attributeValues from LscObject
History
Updated by Jonathan Clarke about 1 year ago
- Status changed from New to Assigned
- Assigned to set to Jonathan Clarke
- Target version set to 1.1.0
I just reproduced this, after never having seen it for several months!
When following the quickstart tutorial, I get this on a clean lsc-sample. It seems that the inetOrgPerson.xml file generated from the built-in OpenDS in lsc-core contains this "attributeValues"...
Investigating.
Updated by Jonathan Clarke about 1 year ago
It turns out the XML file is generated by taking the Java object for a class (say inetOrgPerson) and getting all class attributes from that Java class and all classes it inherits from (organizationalPerson, person, top and LscObject).
The problem was in LscObject which contained an attribute "attributeValues" of type LscAttributes. I can't find any code that uses it, nor any logical use for it, so I have removed it.
Updated by Jonathan Clarke about 1 year ago
- Status changed from Assigned to Feedback
- % Done changed from 0 to 100
Applied in changeset r239.
Updated by Jonathan Clarke about 1 year ago
- Status changed from Feedback to Closed