Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #43784 All Revisions ] Back to Issue ]
Summary 0043784: OBMultiSelectorItem parameter values are not saved in the form
Revision 2020-04-21 12:33 by caristu
Description OBMultiSelectorItem parameter values are not saved in the form. This is because OBMultiSelectorItem extends CanvasItem and by default no value from the CanvasItem is be saved in the DynamicForm values. See[1].

This behavior causes that the selected values in the multiselector are never sent to the backend when a P&E grid is refreshed[2]. But the rest of parameter values are indeed being sent.

[1] https://www.smartclient.com/smartclient-release/isomorphic/system/reference/?id=search%3DCanvasItem [^]
[2] https://gitlab.com/openbravo/product/openbravo/-/blob/master/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js#L206 [^]
Revision 2020-04-21 12:21 by caristu
Description multiselector parameter values are not saved in the form. This is because OBMultiSelectorItem extends CanvasItem and by default no value from the CanvasItem is be saved in the DynamicForm values. See[1].

This behavior causes that the selected values in the multiselector are never sent to the backend when a P&E grid is refreshed[2]. But the rest of parameter values are indeed being sent.

[1] https://www.smartclient.com/smartclient-release/isomorphic/system/reference/?id=search%3DCanvasItem [^]
[2] https://gitlab.com/openbravo/product/openbravo/-/blob/master/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js#L206 [^]
Revision 2020-04-21 12:21 by caristu
Description multiselector parameter values are not saved in the form. This is because OBMultiSelectorItem extends CanvasItem and by default no value from the CanvasItem is be saved in the DynamicForm values. See[1].

This behavior causes that the selected values in the multiselector are never sent to the backend when a P&E grid is refreshed[2]. But the rest of parameter values are indeed being sent.



[1] https://www.smartclient.com/smartclient-release/isomorphic/system/reference/?id=search%3DCanvasItem [^]
[2] https://gitlab.com/openbravo/product/openbravo/-/blob/master/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js#L206 [^]
Revision 2020-04-21 06:44 by caristu
Description multiselector reference as non grid parameter data is not loaded in the HqlQueryTransformer transformHqlQuery parameters

When we try to add a multi selector paremter to a custom process definition, we can't access the resulting data in the queries parameters.
t does work when using a single selector parameter.

Some videos to see the issue are there :
https://drive.google.com/file/d/1w-ovbmKTaWYK2qpoaCry39NAcRGJg9nm/view?usp=sharing [^]
https://drive.google.com/open?id=15nmg3HT6ugBTcFWuw7mELQL9WCaDv0nG [^]

Issue is happening here :
https://gitlab.com/obcustomers/BV/com.openbravo.france.bv.exporter [^]

We also have one diff to apply on this module in file section


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker