Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0013472 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 00. Application dictionary | minor | always | 2010-05-28 18:46 | 2010-07-15 00:00 | |||
Reporter | networkb | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | pi | Fixed in SCM revision | 6e5b61d7248a | |||
Projection | none | ETA | none | Target Version | 2.50MP20 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 2.50MP18 | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0013472: You can delete records of a table with 'Deletable Records' unchecked | |||||||
Description | You can delete records of a table with 'Deletable Records' unchecked | |||||||
Steps To Reproduce | - Create a new table on your DB - Create the table on AD with 'Deletable Records' unchecked. - Create a window and a Menu - Compile - Restart Tomcat - Go to the table created insert some records and then try to delete them. - Realize that this operation is possible | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0029096) hgbot (developer) 2010-07-06 16:50 |
Repository: erp/devel/pi Changeset: 6e5b61d7248a52057d0d4e8436a45939e43c3594 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Tue Jul 06 16:49:45 2010 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/6e5b61d7248a52057d0d4e8436a45939e43c3594 [^] fixed issue 13472: Don't allow delete in tabs without deleteable records Tabs genereated for tables without deleteable records field checked, don't allow now record deletion: -Delete icon has been removed from toolbar for these cases. -Logic has been implemented to preven deletion from grid and edit views. --- M src-wad/src/org/openbravo/wad/Tabs_data.xsql M src-wad/src/org/openbravo/wad/Wad.java M src-wad/src/org/openbravo/wad/javasource.javaxml M src-wad/src/org/openbravo/wad/javasource.xml M src/org/openbravo/erpCommon/utility/DataGrid.java M src/org/openbravo/erpCommon/utility/ToolBar.java M src/org/openbravo/erpCommon/utility/WindowAccess_data.xsql --- |
(0029122) hudsonbot (viewer) 2010-07-07 12:38 |
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated: Changeset: http://code.openbravo.com/erp/devel/main/rev/6e5b61d7248a [^] Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/d555a35070ee [^] Tests: http://builds.openbravo.com/view/int/ [^] OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17817.obx [^] |
(0029305) marvintm (viewer) 2010-07-14 11:37 |
Verified that indeed when you change this property and you compile the window, the Delete button doesn't show anymore. Even more, if you don't compile the window, but try to delete a row after you've changed the Deletable Rows property, you still get an error message, so it's working very well now. |
![]() |
|||
Date Modified | Username | Field | Change |
2010-05-28 18:46 | networkb | New Issue | |
2010-05-28 18:46 | networkb | Assigned To | => alostale |
2010-05-28 18:46 | networkb | OBNetwork customer | => Yes |
2010-05-31 08:31 | alostale | Status | new => scheduled |
2010-05-31 08:31 | alostale | fix_in_branch | => pi |
2010-07-06 16:50 | hgbot | Checkin | |
2010-07-06 16:50 | hgbot | Note Added: 0029096 | |
2010-07-06 16:50 | hgbot | Status | scheduled => resolved |
2010-07-06 16:50 | hgbot | Resolution | open => fixed |
2010-07-06 16:50 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/6e5b61d7248a52057d0d4e8436a45939e43c3594 [^] |
2010-07-07 12:38 | hudsonbot | Checkin | |
2010-07-07 12:38 | hudsonbot | Note Added: 0029122 | |
2010-07-14 11:37 | marvintm | Note Added: 0029305 | |
2010-07-14 11:37 | marvintm | Status | resolved => closed |
2010-07-15 00:00 | anonymous | sf_bug_id | 0 => 3029717 |
Copyright © 2000 - 2009 MantisBT Group |