Menu

#2312 Fixed Assets Dictionary Errors

Beta
closed-remind
9
2010-03-19
2010-02-10
No

Hi All

I informing you to the following dificulties in adempiere 354a fixed assets module while i'm work with it.

1.The exit window in build depreciation workfile window is not work properly and it shows the following error.

===========> GridTab.dataSave: #0 - row=0 [15]
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boole
an
at org.compiere.model.GridTable.hasChanged(GridTable.java:3217)
at org.compiere.model.GridTab.hasChangedCurrentTabAndParents(GridTab.jav
a:912)
at org.compiere.model.GridTab.dataSave(GridTab.java:884)
at org.compiere.apps.APanel.cmd_save(APanel.java:1837)
at org.compiere.apps.APanel.cmd_end(APanel.java:2212)
at org.compiere.apps.APanel.actionPerformed(APanel.java:1511)
at org.compiere.apps.AppsAction.actionPerformed(AppsAction.java:286)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:19
95)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav
a:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242
)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
istener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:2
72)
at java.awt.Component.processMouseEvent(Component.java:6263)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574
)

Discussion

  • Carlos Ruiz

    Carlos Ruiz - 2010-02-10
    • milestone: 959457 --> Beta
    • summary: Exit Window Button not Working --> Fixed Assets Dictionary Errors
    • priority: 5 --> 9
     
  • Carlos Ruiz

    Carlos Ruiz - 2010-02-10

    The problem is caused because of a wrong definition of column Processed on certain fixed assets tables. This query shows 5 wrong entries:

    select tablename, columnname, ad_reference_id, ad_process_id from ad_column c
    join ad_table t on (t.ad_table_id=c.ad_table_id) where columnname = 'Processed'
    and ad_reference_id != 20

    tablename columnname ad_reference_id ad_process_id
    A_Depreciation Processed 28 (null)
    A_Depreciation_Entry Processed 28 53095
    A_Depreciation_Build Processed 28 53111
    A_Depreciation_Convention Processed 28 53123
    A_Depreciation_Method Processed 28 53127

    The Processed column is defined as a button instead of a Yes/No field.

    Solution:
    a) change the column type to be Yes/No
    OR
    b) change the name of the column to Processing (this column is intended to have a button)

    The fix is not so hard / but I would like to hear from Teo if this doesn't collide with current FA stabilization effort.

    Regards,

    Carlos Ruiz

     
  • Carlos Ruiz

    Carlos Ruiz - 2010-03-04

    No answer from Teo if this collides with Fixed Assets, so I guess is better to integrate solution in /release.

    Regards,

    Carlos Ruiz

     
  • Carlos Ruiz

    Carlos Ruiz - 2010-03-04
    • status: open --> open-remind
     
  • Carlos Ruiz

    Carlos Ruiz - 2010-03-04

    More fixed asset dictionary errors found, raised from this thread:
    https://sourceforge.net/projects/adempiere/forums/forum/610547/topic/3577405

    Three tabs are using the non-existent column
    A_Depreciation_Entry.A_Type_Entry
    Instead we must use the column A_Entry_Type

    Regards,

    Carlos Ruiz

     
  • Carlos Ruiz

    Carlos Ruiz - 2010-03-04
    • assigned_to: nobody --> globalqss
     
  • Carlos Ruiz

    Carlos Ruiz - 2010-03-04

    Fixed wrong reference to column A_Depreciation_Entry.A_Type_Entry
    with revision 11581
    http://adempiere.svn.sourceforge.net/adempiere/?rev=11581&view=rev

    Still pending the solution for the wrong Processed columns.

    Regards,

    Carlos Ruiz

     
  • Carlos Ruiz

    Carlos Ruiz - 2010-03-04

    Hi, I committed a patch to fix the wrong reference on Processed columns with revision 11582.
    http://adempiere.svn.sourceforge.net/adempiere/?rev=11582&view=rev

    This is just to make the windows behave (allow to save) - but functionally it seems fixed assets is in very early beta, most of those windows are not working properly.

    Regards,

    Carlos Ruiz

     
  • Carlos Ruiz

    Carlos Ruiz - 2010-03-04
    • status: open-remind --> pending-remind
     
  • SourceForge Robot

    • status: pending-remind --> closed-remind
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     

Log in to post a comment.