Uploaded image for project: 'iDempiere'
  1. IDEMPIERE-3828

Error when packin a Process Parameter by a 2Pack

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: None
    • Fix versions: None
    • Components: 2pack, Core
    • Labels:
      None
    • Sprint:

      Description

      When the 2Pack contains a Process Parameter that is a direct table to a table that is also imported by this 2Pack, during the packin process, the getAD_Table() from MRefTable instantiate an object from MTable whit MTable.get(Properties ctx, int AD_Table_ID) and as the transaction is not passed the Table is not found by MTable so the system throws an exception. Solution suggestion:

      Class: org.compiere.model.MRefTable
      Line: 62
      Original code: MTable table = MTable.get(getCtx(), getAD_Table_ID());
      Code changed: MTable table = MTable.get(getCtx(), getAD_Table_ID(), get_TrxName());

        Attachments

          Activity

            People

            • Assignee:
              dsoftware55.cc Bruno de Melo
              Reporter:
              dsoftware55.cc Bruno de Melo
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: