Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0034938 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 07. Sales management | minor | have not tried | 2017-01-13 09:33 | 2017-01-17 13:45 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 3.0PR17Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 6398d4e21157 | ||||
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 | vmromanos | |||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | Production - QA Approved | |||||||
Regression date | 2016-08-29 | |||||||
Regression introduced in release | 3.0PR16Q4 | |||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/e3d66eaa40b5 [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0034938: can't select product in Return from Customer > Insert Orphan Line | |||||||
Description | When trying to insert an orphan line in a return from customer, it is not possible to select the product: the selector is not displayed. This is caused by a JS error which prevents the flow to continue: Uncaught TypeError: Cannot read property 'register' of undefined in file cancelAndReplace.js, line: OB.EventHandlerRegistry.register(OB.CancelAndReplace.SALES_ORDERLINES_TAB, OB.EventHandlerRegistry.PREDELETE, OB.CancelAndReplace.ClientSideEventHandlersPreDelete.showMessage, 'OBCancelAndReplace_ShowMessage'); The problem is caused because cancelAndReplace.js is loaded within js static resources for classic windows, but the infrastructure it relies on (OB.EventHandlerRegistry) is not causing to fail when tried to be loaded in classic mode. | |||||||
Steps To Reproduce | 1. Create a preference 'RM Allow Orphan Line' with value 'Y' 2. Log in again 3. Create a new record in Return from Customer window 4. Click on Insert Orphan line -> ERROR: * realize it's not possible to select a product as the product selector is not available. * JS error can be seen in console | |||||||
Proposed Solution | Cancel and Replace is not designed to work in classic mode, so its JS shouldn't be loaded in this case. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|||||||||||||||||||||||||||||
|
![]() |
|
(0093473) alostale (viewer) 2017-01-13 10:06 |
Incorrect issue number in commit message: Repository: erp/devel/pi Changeset: 6398d4e21157f2e64580a955ed56368ea5af1e50 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Fri Jan 13 10:03:39 2017 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/6398d4e21157f2e64580a955ed56368ea5af1e50 [^] [^] fixed bug 34939: 3.0 selectors cannot be used in classic mode When a 3.0 selector was included within classic mode, the JS failed to load. The problem was cancelAndReplace.js was included within classic mode JS but it depends on resources not available in this mode. Because cancel and replace is not designed to work in classic mode, its JS is now not included in this mode. --- M modules/org.openbravo.client.application/src/org/openbravo/client/application/ApplicationComponentProvider.java --- |
(0093474) alostale (viewer) 2017-01-13 10:27 |
Added test case to TestLink: https://testlink.openbravo.com/testlink/linkto.php?tprojectPrefix=Communit&item=testcase&id=Communit-10520 [^] |
(0093637) vmromanos (viewer) 2017-01-17 13:45 |
Code review + testing OK. Verified Cancel and Replace keeps on working fine. |
![]() |
|||
Date Modified | Username | Field | Change |
2017-01-13 09:33 | alostale | New Issue | |
2017-01-13 09:33 | alostale | Assigned To | => Triage Finance |
2017-01-13 09:33 | alostale | OBNetwork customer | => No |
2017-01-13 09:33 | alostale | Modules | => Core |
2017-01-13 09:33 | alostale | Triggers an Emergency Pack | => No |
2017-01-13 09:38 | alostale | File Added: Selection_145.png | |
2017-01-13 09:42 | alostale | Description Updated | View Revisions |
2017-01-13 09:42 | alostale | Steps to Reproduce Updated | View Revisions |
2017-01-13 09:42 | alostale | Proposed Solution updated | |
2017-01-13 09:45 | alostale | Regression level | => Production - QA Approved |
2017-01-13 09:45 | alostale | Regression date | => 2016-08-29 |
2017-01-13 09:45 | alostale | Regression introduced in release | => 3.0PR16Q4 |
2017-01-13 09:45 | alostale | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/e3d66eaa40b5 [^] |
2017-01-13 09:45 | alostale | Priority | normal => immediate |
2017-01-13 09:45 | alostale | Assigned To | Triage Finance => alostale |
2017-01-13 09:45 | alostale | Review Assigned To | => vmromanos |
2017-01-13 09:46 | alostale | Relationship added | caused by 0034937 |
2017-01-13 09:46 | alostale | Relationship added | blocks 0034797 |
2017-01-13 09:47 | alostale | Status | new => scheduled |
2017-01-13 10:06 | alostale | Note Added: 0093473 | |
2017-01-13 10:06 | alostale | Status | scheduled => resolved |
2017-01-13 10:06 | alostale | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/6398d4e21157f2e64580a955ed56368ea5af1e50 [^] |
2017-01-13 10:06 | alostale | Resolution | open => fixed |
2017-01-13 10:27 | alostale | Note Added: 0093474 | |
2017-01-17 13:45 | vmromanos | Note Added: 0093637 | |
2017-01-17 13:45 | vmromanos | Status | resolved => closed |
2017-01-17 13:45 | vmromanos | Fixed in Version | => 3.0PR17Q2 |
Copyright © 2000 - 2009 MantisBT Group |