Notes |
|
|
The MenuTreeOperationManager class should be updated to allow moving menu tree nodes if there is a template in development, even if the module owner of the tree node being moved is not in development |
|
|
(0075086)
|
hgbot
|
2015-03-02 13:47
|
|
Repository: erp/devel/pi
Changeset: f1360ce4b3d1861653f726626296ea743e16c52f
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Mar 02 13:45:56 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/f1360ce4b3d1861653f726626296ea743e16c52f [^]
Fixes bug 29097: A menu tree node can be moved with a template in development
When the Openbravo Trees were reimplemented [1], there was a problem reimplementing the logic done when a Menu tree item is moved. Before the reimplementation, it was possible to move a menu tree item if the module it belonged to was in development or if there was any template module in development. The reimplementation did not take into account the templates, so from then on it has not been possible to moved menu tree nodes having a template in development.
To fix this, templates are taken into accout in the MenuTreeOperationManager class.
[1] https://issues.openbravo.com/view.php?id=25906 [^]
---
M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/treeChecks/MenuTreeOperationManager.java
---
|
|
|
|
|
|
|
|
|
|
Code reviewed
Tested with and without templates in dev |
|
|
(0075762)
|
hgbot
|
2015-03-19 07:17
|
|
Repository: erp/backports/3.0PR14Q3.8
Changeset: 17972a6e9e7ba9bb11b3e702c817cc839feacef4
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Mar 02 13:45:56 2015 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR14Q3.8/rev/17972a6e9e7ba9bb11b3e702c817cc839feacef4 [^]
Fixes bug 29097: A menu tree node can be moved with a template in development
When the Openbravo Trees were reimplemented [1], there was a problem reimplementing the logic done when a Menu tree item is moved. Before the reimplementation, it was possible to move a menu tree item if the module it belonged to was in development or if there was any template module in development. The reimplementation did not take into account the templates, so from then on it has not been possible to moved menu tree nodes having a template in development.
To fix this, templates are taken into accout in the MenuTreeOperationManager class.
[1] https://issues.openbravo.com/view.php?id=25906 [^]
---
M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/treeChecks/MenuTreeOperationManager.java
---
|
|
|
(0075763)
|
priyam
|
2015-03-19 07:22
|
|
closing the issue, as the status changed to resolved when changeset transplanted to Q3 |
|
|
(0076303)
|
hgbot
|
2015-04-01 11:51
|
|
Repository: erp/backports/3.0PR15Q1.3
Changeset: 2b06105e638c31e50f3e68103f90aa1b5d5427bc
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Mar 02 13:45:56 2015 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR15Q1.3/rev/2b06105e638c31e50f3e68103f90aa1b5d5427bc [^]
Fixes bug 29097: A menu tree node can be moved with a template in development
When the Openbravo Trees were reimplemented [1], there was a problem reimplementing the logic done when a Menu tree item is moved. Before the reimplementation, it was possible to move a menu tree item if the module it belonged to was in development or if there was any template module in development. The reimplementation did not take into account the templates, so from then on it has not been possible to moved menu tree nodes having a template in development.
To fix this, templates are taken into accout in the MenuTreeOperationManager class.
[1] https://issues.openbravo.com/view.php?id=25906 [^]
---
M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/treeChecks/MenuTreeOperationManager.java
---
|
|
|
(0076304)
|
priyam
|
2015-04-01 11:52
|
|
closing the issue, as the status changed to resolved when changeset transplanted to 15Q1 |
|