Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
ID | |||||||||||
0029401 | |||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||||
defect | [Openbravo ERP] A. Platform | minor | always | 2015-03-25 13:01 | 2022-02-01 08:05 | ||||||
Reporter | caristu | View Status | public | ||||||||
Assigned To | Triage Platform Base | ||||||||||
Priority | normal | Resolution | open | Fixed in Version | |||||||
Status | acknowledged | Fix in branch | Fixed in SCM revision | ||||||||
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 | |||||||||||
OBNetwork customer | OBPS | ||||||||||
Web browser | |||||||||||
Modules | Core | ||||||||||
Support ticket | 34025 | ||||||||||
Regression level | |||||||||||
Regression date | |||||||||||
Regression introduced in release | |||||||||||
Regression introduced by commit | |||||||||||
Triggers an Emergency Pack | No | ||||||||||
Summary | 0029401: Read only logic is not computed properly under some circumstances | ||||||||||
Description | Read only logic is not computed properly under some circumstances, this can cause that some fields appear in read only mode when they should not. | ||||||||||
Steps To Reproduce | 1) Install the "com.openbravo.support.test" module with the latest changes in the repository of the module (tag Issue29401). This change includes a field called Test Field in the Purchase Order window with the followin read only logic: (it is editable only when the order is in draft status) 2) Go to the [Purchase Window], create a new record in the header 3) Go to the [Lines] tab, create a new record in grid view, select a product and click Ctrl+F2 to switch to the form view 4) Place in the order quantity, enter a quantity and press the tab button of the keyboard. 5) Notice that the Test Field has been set in read only but it should not be in that status | ||||||||||
Proposed Solution | In the view definition the following statement is set: f.disableItem('suptestTest', context.DocStatus !== 'DR'); Notice that after following these steps context.DocStatus is undefined, this causes that context.DocStatus !== 'DR' is true, causing the change in the field to be read only | ||||||||||
Tags | No tags attached. | ||||||||||
Attached Files | |||||||||||
![]() |
|
![]() |
|||
Date Modified | Username | Field | Change |
2015-03-25 13:01 | caristu | New Issue | |
2015-03-25 13:01 | caristu | Assigned To | => platform |
2015-03-25 13:01 | caristu | OBNetwork customer | => Yes |
2015-03-25 13:01 | caristu | Modules | => Core |
2015-03-25 13:01 | caristu | Triggers an Emergency Pack | => No |
2015-03-25 13:03 | hgbot | Checkin | |
2015-03-25 13:03 | hgbot | Note Added: 0075965 | |
2015-03-25 13:04 | hgbot | Checkin | |
2015-03-25 13:04 | hgbot | Note Added: 0075966 | |
2015-03-25 13:04 | caristu | Steps to Reproduce Updated | View Revisions |
2015-03-25 13:05 | caristu | Support ticket | => 34025 |
2015-03-25 13:17 | caristu | Note View State: private: 75965 | |
2015-03-25 13:17 | caristu | Note View State: private: 75966 | |
2015-03-25 13:17 | caristu | Issue Monitored: networkb | |
2015-03-26 08:25 | alostale | Status | new => acknowledged |
2015-03-27 15:36 | hgbot | Checkin | |
2015-03-27 15:36 | hgbot | Note Added: 0076094 | |
2015-03-27 15:37 | hgbot | Checkin | |
2015-03-27 15:37 | hgbot | Note Added: 0076095 | |
2015-03-30 08:58 | caristu | Note View State: private: 76094 | |
2015-03-30 08:58 | caristu | Note View State: private: 76095 | |
2015-03-30 09:03 | caristu | Note Deleted: 0075965 | |
2015-03-30 09:03 | caristu | Note Deleted: 0075966 | |
2015-03-30 09:03 | caristu | Note Deleted: 0076094 | |
2015-03-30 09:03 | caristu | Note Deleted: 0076095 | |
2015-11-11 11:37 | alostale | Priority | high => normal |
2022-02-01 08:05 | alostale | Assigned To | platform => Triage Platform Base |
Copyright © 2000 - 2009 MantisBT Group |