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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0013472
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 00. Application dictionaryminoralways2010-05-28 18:462010-07-15 00:00
ReporternetworkbView Statuspublic 
Assigned Toalostale 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision6e5b61d7248a
ProjectionnoneETAnoneTarget Version2.50MP20
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP18SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0013472: You can delete records of a table with 'Deletable Records' unchecked

DescriptionYou 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(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 (developer)
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 (developer)
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.

- Issue History
Date Modified Username Field Change
2010-05-28 18:46 networkb New Issue
2010-05-28 18:46 networkb Assigned To => alostale
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
Powered by Mantis Bugtracker