Ticket #157 (new defect)

Opened 4 years ago

CompositeList editing only works inline for new items

Reported by: Stephan Assigned to: eitan
Priority: major Component: data binding
Version: Keywords:
Cc:

Description

Version 20070809

1 Edit an object with a composite list.

2 Add a new item to a composite list.

3 Double click on the title to edit it as a separate object.

[java] EOCommand: Failed in attempt to invoke method: public com.u2d.mode

l.ComplexEObject com.u2d.model.AbstractComplexEObject$ReadState?.Open(com.u2d.ele ment.CommandInfo?) on object: Transient

[java] Exception in thread "Thread-27" java.lang.IllegalArgumentException?:

object is not an instance of declaring class

[java] at sun.reflect.NativeMethodAccessorImpl?.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl?.invoke(NativeMethodAcces?

sorImpl.java:39)

[java] at sun.reflect.DelegatingMethodAccessorImpl?.invoke(DelegatingMet?

hodAccessorImpl.java:25)

[java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at com.u2d.element.EOCommand.execute(EOCommand.java:104) [java] at com.u2d.element.EOCommand.execute(EOCommand.java:89) [java] at com.u2d.view.swing.CommandAdapter?$1.offEDT(CommandAdapter?.jav

a:90)

[java] at com.u2d.view.swing.SwingViewMechanism?$16.run(SwingViewMechani?

sm.java:946)

After saving the (main)object, the item can be edited as a separate object.