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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0010821
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 00. Application dictionaryminoralways2009-09-30 10:212009-10-23 00:00
ReporterazabaletaView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision66d9136040ab
ProjectionnoneETAnoneTarget Version2.50MP9
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0010821: When creating a new window the application should warn the user that the table has no PK

DescriptionIts known that the system dont compile a window when the table it belongs has no PK. For that reason, when creating a tab from a table that has no PK, the ssystem should show a warning to the user.

Asier
Proposed SolutionThe system when you select the table in the tab window should check if exists at least one column with the reference ID
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0009015 closedalostale WAD should check that the compiling window/tabs must have an indentifier 

-  Notes
(0020582)
rafaroda (developer)
2009-09-30 11:16

Steps to reproduce and product version please http://wiki.openbravo.com/wiki/Bug_Reporting_Guidelines [^]
(0020583)
psarobe (manager)
2009-09-30 11:24

Hi Asier,

Are you talking about defining the PK in the AD (which would be reference ID) or in the DB?

Thanks
(0020587)
azabaleta (developer)
2009-09-30 12:11

I think it does not matter.

Somehow, the AD has a table with no PK. (can be a user error)
The system allows the user to create a tab based on this table, but then it does not compile it.

Putting a message should be easy.

Thanks
(0021101)
alostale (manager)
2009-10-16 11:26

I think it is better to solve this issue as a verification done before compiling the windows (as in 0009015) rather than preventing it with constraints/triggers since them could be annoying when edition the info.
(0021103)
hgbot (developer)
2009-10-16 11:52

Repository: erp/devel/pi
Changeset: 66d9136040ab012c5668cee797129b3a31da44e9
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Oct 16 11:51:58 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/66d9136040ab012c5668cee797129b3a31da44e9 [^]

fixed bug 0010821: When creating a new window the application should warn the user that the table has no PK

---
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
---

- Issue History
Date Modified Username Field Change
2009-09-30 10:21 azabaleta New Issue
2009-09-30 10:21 azabaleta Assigned To => rafaroda
2009-09-30 11:16 rafaroda Note Added: 0020582
2009-09-30 11:16 rafaroda Status new => feedback
2009-09-30 11:24 psarobe Note Added: 0020583
2009-09-30 12:11 azabaleta Note Added: 0020587
2009-10-09 17:03 psarobe Status feedback => scheduled
2009-10-09 17:03 psarobe Target Version => 2.50MP9
2009-10-09 17:03 psarobe Steps to Reproduce Updated
2009-10-09 17:03 psarobe Assigned To rafaroda => alostale
2009-10-09 17:54 alostale Relationship added related to 0009015
2009-10-16 11:26 alostale Note Added: 0021101
2009-10-16 11:52 hgbot Checkin
2009-10-16 11:52 hgbot Note Added: 0021103
2009-10-16 11:52 hgbot Status scheduled => resolved
2009-10-16 11:52 hgbot Resolution open => fixed
2009-10-16 11:52 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/66d9136040ab012c5668cee797129b3a31da44e9 [^]
2009-10-22 11:22 plujan Status resolved => closed
2009-10-23 00:00 anonymous sf_bug_id 0 => 2884252


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker