AssociationSelect does not support soft associations anymore
Previous revisions of trails-1.1-SNAPSHOT supported a version of HibernateDescriptorDecorator that accomodated HARD and SOFT OneToOne associations.
Hard meaning the OneToOne property editor would render.
Soft meaning the simple AssociationSelect property editor would render.
Currently, recent modifications have regressed to just the former. Latter logic is no longer working.
It is all based on the parsing of the mappedBy annotation field and the determination of whether to instantiate ObjectReferenceDescriptor or OwningObjectReferenceDescriptor.
Former logic operated as follows:
If mappedBy = "" then instantiate ObjectReferenceDescriptor.
If mappedBy= "something" then drill into class reflection and find the owner and it's associated property and instantiate OwningObjectReferenceDescriptor using those attributes retrieved from class reflection.
The code for this was pain staking and valuable.
It would be nice to see it working asap.
|Field||Original Value||New Value|
|Summary||AssociationSelect does not support soft associations anymore||REGRESSION:OneToOne decoration faulty...AssociationSelect does not support soft associations anymore|
|Summary||REGRESSION:OneToOne decoration faulty...AssociationSelect does not support soft associations anymore||regression:OneToOne decoration faulty...HARD OneToOne associations broken|
|Assignee||Ken in nashua [ nhhockeyplayer ]|
|Status||Open [ 1 ]||In Progress [ 3 ]|
|Status||In Progress [ 3 ]||Open [ 1 ]|
|Resolution||Fixed [ 1 ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|