Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0034778Openbravo ERP09. Financial managementpublic2016-12-20 10:462017-01-10 12:37
shuehner 
alekosmp86 
normalminorhave not tried
scheduledopen 
5
 
 
Core
No
0034778: Error in tab definition for Financial Account -> Accounting tab: "a column and an auxiliary input have the same name"
Opening that tab in form view shows an error message in openbravo.log file

2016-12-20 10:42:42,680 [ajp-bio-127.0.0.1-8009-exec-27] ERROR org.openbravo.client.application.window.FormInitializationComponent - Error: a column and an auxiliary input have the same name in ADTab(FF80808130BB89090130BB9A3A2B0043) (name: Accounting, window: 94EAA455D2644E04AB25D93BE5157B6D). This will lead to wrong computation of values for that column.
Go to Financial Account window and select a row
Go to the Accounting child tab and open it in form view
Check openbravo.log for the error message
No tags attached.
related to feature request 0034779 new Triage Platform Base FIC check for "a column and an auxiliary input have the same name" could probably be done at compile time 
Issue History
2016-12-20 10:46shuehnerNew Issue
2016-12-20 10:46shuehnerAssigned To => Triage Finance
2016-12-20 10:46shuehnerModules => Core
2016-12-20 10:46shuehnerTriggers an Emergency Pack => No
2016-12-20 11:04shuehnerRelationship addedrelated to 0034779
2016-12-20 17:06markmm82Assigned ToTriage Finance => collazoandy4
2016-12-26 16:38markmm82Assigned Tocollazoandy4 => alekosmp86
2016-12-26 16:49alekosmp86Statusnew => scheduled
2016-12-26 21:06alekosmp86Note Added: 0092998
2016-12-26 21:06alekosmp86Note Edited: 0092998bug_revision_view_page.php?bugnote_id=0092998#r14126
2017-01-03 15:09psanjuanNote Added: 0093135
2017-01-10 12:37aferrazNote Added: 0093305

Notes
(0092998)
alekosmp86   
2016-12-26 21:06   
Test Plan

Log in as F&B International Group Admin

Go to Financial Account screen
   Select "Cuenta de Banco" financial account
   Go to Accounting tab
      Select any record and open it in form view

In Eclipse IDE, or openbravo.log file, notice there's no error.

(0093135)
psanjuan   
2017-01-03 15:09   
Issue verified.
(0093305)
aferraz   
2017-01-10 12:37   
DOCBASETYPE auxiliary inputs are used for Accounting Dimensions configuration (DimensionDisplayUtility.java).
Every DOCBASETYPE auxiliary input should be renamed to avoid having the same name as DocBaseType column (as it happens in Financial Account | Accounting tab).
Anyway, these auxiliary inputs could be used in any other place and in case we rename them, we could introduce a regression. I think it is not worth to do this risky change just to avoid an error in the log.