Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0029401
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2015-03-25 13:012022-02-01 08:05
ReportercaristuView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusacknowledgedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Status
Review Assigned To
OBNetwork customerOBPS
Web browser
ModulesCore
Support ticket34025
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0029401: Read only logic is not computed properly under some circumstances

DescriptionRead 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 Reproduce1) 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 SolutionIn 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
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
Powered by Mantis Bugtracker