Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0002848Openbravo ERPC. Securitypublic2008-04-11 10:182009-02-20 12:08
plujan 
alostale 
lowminoralways
closedno change required 
5
2.40 
 
Core
No
0002848: 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
depends on backport 0004973 closed alostale Read only grids still reacts to Delete Key 
Issue History
2008-07-08 18:45plujanAssigned Touser71 => cromero
2008-07-08 18:45plujanStatusresolved => new
2008-07-08 18:45plujanResolutionout of date => open
2008-07-08 18:45plujanNote Added: 0008229
2008-07-08 18:45plujanFixed in Version2.40alpha-r2 =>
2008-07-08 18:45plujanPrioritynormal => low
2008-07-08 18:45plujanDescription Updated
2008-07-09 17:24cromeroStatusnew => scheduled
2008-07-09 17:24cromeroAssigned Tocromero => alostale
2008-07-09 17:24cromerofix_in_branch => trunk
2008-12-10 09:58alostaleAssigned Toalostale => iperdomo
2008-12-11 15:57alostaleAssigned Toiperdomo => alostale
2008-12-12 12:09alostaleTag Attached: platform1_sprint1
2009-01-19 10:03rafarodaversion => 2.40
2009-01-19 10:03rafarodafix_in_branchtrunk =>
2009-02-20 12:08alostaleRegression testing => No
2009-02-20 12:08alostaleStatusscheduled => closed
2009-02-20 12:08alostaleNote Added: 0013822
2009-02-20 12:08alostaleResolutionopen => no change required

Notes
(0006437)
user71   
2005-06-01 00:00   
(edited on: 2008-06-12 09:43)
This bug was originally reported in SourceForge bug tracker and then migrated to Mantis.

You can see the original bug report in:
https://sourceforge.net/support/tracker.php?aid=1939950 [^]
(0003514)
user71   
2008-05-08 12:07   
(edited on: 2008-06-12 09:25)
Logged In: YES
user_id=1964080
Originator: NO

We have tested this bug in the subversion repository and it has just been fixed.

Note that the only supported version of the application is the one in subversion. So it is possible that this was a bug in a previous version that is already fixed.
(0008229)
plujan   
2008-07-08 18:45   
I still have the warning message about deleting records on r2.40beta
(0013822)
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.