Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016968Openbravo ERPA. Platformpublic2011-05-02 17:252011-05-19 18:01
mirurita 
eduardo_Argal 
highminoralways
closedfixed 
5
pi 
 
No
Core
No
0016968: WAD validation for auxiliar inputs should be modified
After this change in AD_AUXILIARINPUT_TRG trigger [1] the WAD validation for auxiliary inputs should be changed.

Before this change [1] it was mandatory for all the auxiliary inputs names in a module to start with the module dbprefix.

Now, it is possible to use any name for auxiliary input (AI) if the tab and the AI belong to the same module.

For navigation purposes between transactional windows (sales/purchase) the auxiliary input must have a fix name. In this case the name cannot start with the module dbprefix.

[1] https://code.openbravo.com/erp/devel/pi/rev/433ad8e1d1cf [^]

For example, this is the result of the WAD validation
+++++++++++++++++++++++++++++++++++++++++++++++++++
[WADValidation] 626 [main] ERROR org.openbravo.wad.validation.WADValidationResult - Errors for Validation type: Auxiliary Input Name
[WADValidation] 664 [main] ERROR org.openbravo.wad.validation.WADValidationResult - +++++++++++++++++++++++++++++++++++++++++++++++++++
[WADValidation] 688 [main] ERROR org.openbravo.wad.validation.WADValidationResult - IsSOTrx does not start by its module's DBPrefix: REM
[WADValidation] 718 [main] ERROR org.openbravo.wad.validation.WADValidationResult - IsSOTrx does not start by its module's DBPrefix: REM
[WADValidation] 774 [main] ERROR org.openbravo.wad.validation.WADValidationResult - IsSOTrx does not start by its module's DBPrefix: REM
1) Create a new module with ISSUE dbprefix
2) Create a window and a tab in that module
3) Create an auxiliary input for that tab
Name: HelloWorld
Code: @SQL=SELECT 1 FROM DUAL
4) Compile
No tags attached.
depends on backport 0016969 closed eduardo_Argal WAD validation for auxiliar inputs should be modified 
Issue History
2011-05-02 17:25miruritaNew Issue
2011-05-02 17:25miruritaAssigned To => alostale
2011-05-02 17:25miruritaModules => Core
2011-05-02 17:25miruritaOBNetwork customer => No
2011-05-02 18:28eduardo_ArgalAssigned Toalostale => eduardo_Argal
2011-05-02 18:28eduardo_ArgalStatusnew => scheduled
2011-05-02 18:28eduardo_Argalfix_in_branch => pi
2011-05-02 18:34eduardo_Argalfix_in_branchpi =>
2011-05-02 18:34eduardo_ArgalSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=1923#r1923
2011-05-02 18:35eduardo_ArgalSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=1924#r1924
2011-05-02 18:41hgbotCheckin
2011-05-02 18:41hgbotNote Added: 0036289
2011-05-02 18:41hgbotStatusscheduled => resolved
2011-05-02 18:41hgbotResolutionopen => fixed
2011-05-02 18:41hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/52fc57cffc6b090a867f7d7fde27e3386865eb9d [^]
2011-05-02 19:38hgbotCheckin
2011-05-02 19:38hgbotNote Added: 0036292
2011-05-02 19:38hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/52fc57cffc6b090a867f7d7fde27e3386865eb9d [^] => http://code.openbravo.com/erp/devel/pi/rev/9d6e030418f74a4f1cacaf41c509db08865b6f20 [^]
2011-05-12 13:28hudsonbotCheckin
2011-05-12 13:28hudsonbotNote Added: 0036800
2011-05-12 13:28hudsonbotCheckin
2011-05-12 13:28hudsonbotNote Added: 0036801
2011-05-19 18:01miruritaStatusresolved => closed

Notes
(0036289)
hgbot   
2011-05-02 18:41   
Repository: erp/devel/pi
Changeset: 52fc57cffc6b090a867f7d7fde27e3386865eb9d
Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
Date: Mon May 02 18:38:58 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/52fc57cffc6b090a867f7d7fde27e3386865eb9d [^]

Fixes issue 16968: WAD validation for auxiliar inputs should be modified

---

---
(0036292)
hgbot   
2011-05-02 19:38   
Repository: erp/devel/pi
Changeset: 9d6e030418f74a4f1cacaf41c509db08865b6f20
Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
Date: Mon May 02 19:37:57 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/9d6e030418f74a4f1cacaf41c509db08865b6f20 [^]

Fixes bug 16968: WAD validation for auxiliar inputs should be modified

---
M src-wad/src/org/openbravo/wad/validation/WADValidator_data.xsql
---
(0036800)
hudsonbot   
2011-05-12 13:28   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/c40e579fcd38 [^]

Maturity status: Test
(0036801)
hudsonbot   
2011-05-12 13:28   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/c40e579fcd38 [^]

Maturity status: Test