Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0037290 | Retail Modules | Web POS | public | 2017-11-14 14:12 | 2018-01-09 15:38 | |||||||
Reporter | maite | |||||||||||
Assigned To | rqueralta | |||||||||||
Priority | urgent | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | RR18Q1 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | marvintm | |||||||||||
OBNetwork customer | OBPS | |||||||||||
Support ticket | 49189 | |||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0037290: "Save" button blocked in Edit Customer window in case custom hook set args.passValidation=false | |||||||||||
Description | Save button is not enabled again when a OBPOS_PreCustomerSave hook which leaves "args.passValidation" in FALSE status is executed | |||||||||||
Steps To Reproduce | 1. Log in the terminal 2. Open Developers Tool and register following hook in the console: OB.UTIL.HookManager.registerHook('OBPOS_PreCustomerSave', function(args, callbacks) {args.passValidation=false; alert("1");OB.UTIL.HookManager.callbackExecutor(args, callbacks);}); 3. Click on customer and set Arturo Montoro 4. Click again on Arturo Montoro and run Edit option. Add any change and press SAVE button. Realize that button is not enabled | |||||||||||
Proposed Solution | Solution proposed by the partner: - Edit sharedcomponents.js file to add following code in: line 388: } else { OB.UTIL.showError(args.error); + me.waterfall('onDisableButton', { + disabled: false + }); line 470 - args.windowComponent.waterfall('onDisableButton', { + me.waterfall('onDisableButton', { | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2017-11-14 14:12 | maite | New Issue | ||||||||||
2017-11-14 14:12 | maite | Assigned To | => Retail | |||||||||
2017-11-14 14:12 | maite | OBNetwork customer | => Yes | |||||||||
2017-11-14 14:12 | maite | Support ticket | => 49189 | |||||||||
2017-11-14 14:12 | maite | Resolution time | => 1512428400 | |||||||||
2017-11-14 14:12 | maite | Triggers an Emergency Pack | => No | |||||||||
2017-11-14 14:13 | maite | Relationship added | related to 0037186 | |||||||||
2017-11-15 16:28 | rqueralta | Assigned To | Retail => rqueralta | |||||||||
2017-11-15 16:30 | rqueralta | Status | new => scheduled | |||||||||
2017-12-07 14:24 | hgbot | Checkin | ||||||||||
2017-12-07 14:24 | hgbot | Note Added: 0100940 | ||||||||||
2017-12-07 14:24 | hgbot | Status | scheduled => resolved | |||||||||
2017-12-07 14:24 | hgbot | Resolution | open => fixed | |||||||||
2017-12-07 14:24 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/69419e71c5d133a328e13e0452f66e87fa02f512 [^] | |||||||||
2017-12-07 15:54 | marvintm | Review Assigned To | => marvintm | |||||||||
2017-12-07 15:54 | marvintm | Status | resolved => closed | |||||||||
2017-12-07 15:54 | marvintm | Fixed in Version | => RR18Q1 | |||||||||
2018-01-09 15:38 | hgbot | Checkin | ||||||||||
2018-01-09 15:38 | hgbot | Note Added: 0101640 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|