Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Bug with DynamicForm.setUpdateOperation(String)

    Hi Isomorphic,

    I have a DynamicForm (in v9.0p_2013-11-25/EVAL Deployment in FF25.0.1) configured like this:

    Code:
    boundFormAdressdata = new DynamicForm() {
    	{
    		setDataSource(addressDS);
    		setAddOperation("addLead");
    		setUpdateOperation("updateLead");
    		.....
    When I open it for the 1st time for add (=no boundFormAdressdata.fetchData(...)) and enter data and hit my apply button (executing boundFormAdressdata.saveData()) it works like expected (add-operation called).
    If I subsequently press the button again, I get this error message "Attempt to call unknown operationType: updateLead".
    If I close and open my window, effectively calling boundFormAdressdata.fetchData(...), everything works as expected (it calls "update<updateLead>").

    Please also see the attached screenshot from the RPC-Tab of the console.

    Best regards,
    Blama
    Attached Files

    #2
    Hi Isomorphic,

    can you confirm this is a bug?
    I think the root cause might be in the in the internal method that switches from Operationtype=ADD to Operationtype=UPDATE after a successful ADD.

    Best regards,
    Blama

    Comment

    Working...
    X