Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0034716 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | always | 2016-12-12 13:05 | 2016-12-16 18:39 | |||
Reporter | umartirena | View Status | public | |||||
Assigned To | caristu | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 3.0PR17Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 8593b3e21352 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | alostale | |||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0034716: Window action buttons are displayed when they should not under some circumstances. | |||||||
Description | Window action buttons are displayed when they should not under some circumstances. The problem is that FormInitializationComponent.java action handler is not called in a certain case. | |||||||
Steps To Reproduce | In Live builds login in Openbravo ERP: * Go to Sales Order window. * Remove filters. * Select first record in the grid. * See that "Close" button is displayed. * Click on create a new record in form view. * Cancel the action. * Select again the first record in grid view. * See that now "Add Payment" and "Close" buttons are displayed. "Add Payment" should not be displayed for this document. | |||||||
Proposed Solution | The problem is that after creating a new record in form view and cancelling the action the FormInitializationComponent.java action handler is not called, so session variables, auxiliary inputs, etc. are not computed again. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|||||||||||||||
|
![]() |
|
(0092296) hgbot (developer) 2016-12-12 18:52 |
Repository: erp/devel/pi Changeset: 8593b3e21352e7146b98f9d480284c7f25a93764 Author: Carlos Aristu <carlos.aristu <at> openbravo.com> Date: Mon Dec 12 18:51:39 2016 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/8593b3e21352e7146b98f9d480284c7f25a93764 [^] fixes issue 34716: sometimes action buttons are displayed when they should not After closing a new record in form view without saving the changes (either using the cancel button of the toolbar or the close button of the form) some action buttons were being displayed when they should not. This was happening because the form was not being restored as not new after closing it without saving the changes. Back in grid view, having the isNew flag as true was avoiding the required call to the FIC in SETSESSION mode which is needed to recalculate the display logic of the buttons. --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js --- |
(0092305) alostale (viewer) 2016-12-13 11:03 |
code reviewed and tested |
(0092700) hudsonbot (viewer) 2016-12-16 18:39 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/dc8bf00badd0 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2016-12-12 13:05 | umartirena | New Issue | |
2016-12-12 13:05 | umartirena | Assigned To | => caristu |
2016-12-12 13:05 | umartirena | OBNetwork customer | => No |
2016-12-12 13:05 | umartirena | Modules | => Core |
2016-12-12 13:05 | umartirena | Triggers an Emergency Pack | => No |
2016-12-12 14:22 | caristu | Status | new => scheduled |
2016-12-12 16:49 | caristu | Relationship added | related to 0016644 |
2016-12-12 18:52 | hgbot | Checkin | |
2016-12-12 18:52 | hgbot | Note Added: 0092296 | |
2016-12-12 18:52 | hgbot | Status | scheduled => resolved |
2016-12-12 18:52 | hgbot | Resolution | open => fixed |
2016-12-12 18:52 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/8593b3e21352e7146b98f9d480284c7f25a93764 [^] |
2016-12-12 18:58 | caristu | Review Assigned To | => alostale |
2016-12-13 11:03 | alostale | Note Added: 0092305 | |
2016-12-13 11:03 | alostale | Status | resolved => closed |
2016-12-13 11:03 | alostale | Fixed in Version | => 3.0PR17Q1 |
2016-12-16 18:39 | hudsonbot | Checkin | |
2016-12-16 18:39 | hudsonbot | Note Added: 0092700 | |
2016-12-21 15:28 | inigosanchez | Relationship added | related to 0034801 |
Copyright © 2000 - 2009 MantisBT Group |