Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0010821 | Openbravo ERP | 00. Application dictionary | public | 2009-09-30 10:21 | 2009-10-23 00:00 |
|
Reporter | azabaleta | |
Assigned To | alostale | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 2.50MP9 | Fixed in Version | | |
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 |
Steps To Reproduce | |
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 |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0009015 | | closed | alostale | WAD should check that the compiling window/tabs must have an indentifier |
|
Attached Files | |
|
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 | 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 |
Notes |
|
|
|
|
|
Hi Asier,
Are you talking about defining the PK in the AD (which would be reference ID) or in the DB?
Thanks |
|
|
|
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 |
|
|
|
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
|
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
---
|
|