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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012470
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 00. Application dictionaryminoralways2010-02-25 12:592010-05-18 12:12
ReporternetworkbView Statuspublic 
Assigned Toalostale 
PriorityhighResolutionfixedFixed in Version2.50MP15
StatusclosedFix in branchpiFixed in SCM revision3b09034cc725
ProjectionnoneETAnoneTarget Version2.50MP17
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP11SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0012470: The application dictionary allows to check two columns as "iskey" what is not correct

DescriptionThe application dictionary allows to check two columns as "iskey" what is not correct. You should get an error because if you try to access to the window related with this table after check two columns as iskey withoug compile,
you can not access to the edit view.
Steps To Reproduce-Login as system administrator
-Go to the c_invoiceline definition table on the application dictionary
-Check the column line as "iskey"
-Save and login as Openbravo admin
-Go to sales invoice window and to the lines tab
-Try to see the window in edition view. It is not possible.

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0025924)
hgbot (developer)
2010-04-07 09:54

Repository: erp/devel/pi
Changeset: 3b09034cc725f849c0f67a8328d473d93aaa92db
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Apr 07 10:05:35 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/3b09034cc725f849c0f67a8328d473d93aaa92db [^]

fixed bug 12470: The application dictionary allows to check two columns as "iskey"
  The fix includes:
    -Callout to prevent multiple key columns: a message is shown and the second key is unchecked
    -WADValidation to validate there are no tables with mulitple key columns

---
M src-db/database/sourcedata/AD_CALLOUT.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
M src-wad/src/org/openbravo/wad/validation/WADValidationResult.java
M src-wad/src/org/openbravo/wad/validation/WADValidator.java
M src-wad/src/org/openbravo/wad/validation/WADValidator_data.xsql
A src/org/openbravo/erpCommon/ad_callouts/SL_Column.java
---
(0026074)
marvintm (developer)
2010-04-12 17:59

Verified that you can no longer set a second column as key from the application.
(0026426)
hudsonbot (developer)
2010-04-19 21:12

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/3b09034cc725 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/91d98bda46c1 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17088.obx [^]

- Issue History
Date Modified Username Field Change
2010-02-25 12:59 networkb New Issue
2010-02-25 12:59 networkb Assigned To => alostale
2010-03-01 08:51 alostale Status new => scheduled
2010-03-01 08:51 alostale fix_in_branch => pi
2010-03-08 16:05 jpabloae Target Version 2.50MP14 => 2.50MP15
2010-04-07 09:54 hgbot Checkin
2010-04-07 09:54 hgbot Note Added: 0025924
2010-04-07 09:54 hgbot Status scheduled => resolved
2010-04-07 09:54 hgbot Resolution open => fixed
2010-04-07 09:54 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/3b09034cc725f849c0f67a8328d473d93aaa92db [^]
2010-04-12 17:59 marvintm Note Added: 0026074
2010-04-12 17:59 marvintm Status resolved => closed
2010-04-12 17:59 marvintm Fixed in Version => 2.50MP15
2010-04-13 00:00 anonymous sf_bug_id 0 => 2986150
2010-04-19 21:12 hudsonbot Checkin
2010-04-19 21:12 hudsonbot Note Added: 0026426
2010-05-18 12:12 gorka_gil Target Version 2.50MP15 => 2.50MP17


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker