Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0010821 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 00. Application dictionary | minor | always | 2009-09-30 10:21 | 2009-10-23 00:00 | |||
Reporter | azabaleta | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 66d9136040ab | ||||
Projection | none | ETA | none | Target Version | 2.50MP9 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0010821: When creating a new window the application should warn the user that the table has no PK | |||||||
Description | Its 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 Solution | The system when you select the table in the tab window should check if exists at least one column with the reference ID | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0020582) rafaroda (viewer) 2009-09-30 11:16 |
Steps to reproduce and product version please http://wiki.openbravo.com/wiki/Bug_Reporting_Guidelines [^] |
(0020583) psarobe (viewer) 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 (viewer) 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 (viewer) 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 --- |
![]() |
|||
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 | OBNetwork customer | => No |
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 |