Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0004973Openbravo ERPC. Securitypublic2008-09-09 17:262009-02-20 12:08
plujan 
alostale 
lowminoralways
closedno change required 
5
2.40 
 
Core
No
0004973: Read only grids still reacts to Delete Key
Summary:
When on a read only grid, if I press Delete key, I still have the warning dialog about deleting records. I cannot delete anything, but message is confusing.

Related to: https://sourceforge.net/tracker/index.php?func=detail&aid=1854877&group_id=162271&atid=823129 [^]
platform1_sprint1
blocks defect 0002848 closed alostale Read only grids still reacts to Delete Key 
Issue History
2008-09-09 17:26anonymousNew Issue
2008-09-09 17:26anonymousAssigned To => alostale
2008-09-09 17:26anonymousStatusnew => scheduled
2008-09-09 17:26anonymousfix_in_branch => 2.40
2008-12-12 12:13alostaleTag Attached: platform1_sprint1
2009-01-19 10:02rafarodaversion => 2.40
2009-01-19 10:02rafarodaDescription Updated
2009-02-20 12:08alostaleRegression testing => No
2009-02-20 12:08alostaleStatusscheduled => closed
2009-02-20 12:08alostaleNote Added: 0013823
2009-02-20 12:08alostaleResolutionopen => no change required

Notes
(0013823)
alostale   
2009-02-20 12:08   
There are two possible scenarios:
-The tab is read only, this means that all the records are readonly. In this case the delete icon does not appear in the toolbar and the delete key does not have any effect.
-The tab is not read only but there are records that cannot be edited/deleted because of security restrictions. In this case the delete icon and key work but before deleting it is checked that the record can be deleted, in case it is not possible the warning message is shown. This is done in this way because in grid mode is possible to select more than one record, in this case there could be at the same time deleteable and not deleteable records selected, the ones that can be deleted would be removed and the ones that cannot be would raise the message.