Notes |
|
|
Note:
Reverting the update-references for a single affected tab/column makes the error go away.
I.e. testcase:
ant compile -Dtab='Business' -Dtr=no
Look at error in 'Contact tab' of Business partner window:
sql to revert the references change:
update ad_column set ad_reference_id = '30' where ad_column_id = '5844';
update ad_column set ad_reference_value_id = '800057' where ad_column_id = '5844';
Note ad_column_id 5844 is c_pbartner_id column of 'contact' tab (field linking to parent tab Business partner). |
|
|
|
Guess for cause: special wad logic for 'read-only selector' fields rendered as normal read-only textfields (which are used in core to work around bad performance with huge list of entries in dropdowns) |
|
|
(0028728)
|
hgbot
|
2010-06-24 09:59
|
|
Repository: erp/devel/pi
Changeset: 92c5a224fb80002f1628869b6ff37b492bf6235b
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Thu Jun 24 09:58:01 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/92c5a224fb80002f1628869b6ff37b492bf6235b [^]
Fixes issue 13747: Prevents NPE when changing reference to new selector
The NPE happens on fields of child tabs and are associated with the column
marked as 'link to parent'. Changed the way to check for value 'Y' to prevent
the NPE.
---
M src-wad/src/org/openbravo/wad/controls/WADControl.java
---
|
|
|
|
Reviewed+tested, now wad compilation of the changed tabs works with the NPE and the changed fields seem to be working fine. |
|
|
|
|