You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Nicolas Malin (Jira)" <ji...@apache.org> on 2025/04/17 13:27:00 UTC

[jira] [Closed] (OFBIZ-13223) Error rendering included form "MandatoryWorkEfforts" when approving parent production run

     [ https://issues.apache.org/jira/browse/OFBIZ-13223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicolas Malin closed OFBIZ-13223.
---------------------------------
    Fix Version/s: 24.09.02
       Resolution: Fixed

Thanks [~yashwant.dhakad] 

It's Fixed on trunk and for the future 24.09.02

 

> Error rendering included form "MandatoryWorkEfforts" when approving parent production run
> -----------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-13223
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13223
>             Project: OFBiz
>          Issue Type: Bug
>          Components: manufacturing
>    Affects Versions: Upcoming Branch, 24.09.01
>            Reporter: Yashwant Dhakad
>            Assignee: Nicolas Malin
>            Priority: Minor
>             Fix For: 24.09.02
>
>         Attachments: OFBiz-Manufacturing-Manager-Production-Run-Declaration-04-16-2025_01_29_PM.png
>
>
> Description:
> When attempting to approve a main production run that has dependent production runs, an error is thrown, and the UI displays an error message instead of rendering the "MandatoryWorkEfforts" section. This prevents the user from proceeding further with the production run process.
> Steps to Reproduce:
> * Create a production run with dependent production components.
> * Navigate to the Production Run screen.
> * Confirm or approve the main job (production run).
> * Observe the error in the ManufacturingMandatoryWorkEfforts section.
> Expected Result: The "MandatoryWorkEfforts" form should load properly with required data.
> Actual Result: An error is shown:
> ERROR MESSAGE
> java.lang.RuntimeException: Error rendering included form named [MandatoryWorkEfforts] at location [component://manufacturing/widget/manufacturing/ProductionRunForms.xml]: java.lang.NullPointerException: Cannot invoke "org.w3c.dom.Element.getAttribute(String)" because "formElement" is nulljava.lang.NullPointerException: Cannot invoke "org.w3c.dom.Element.getAttribute(String)" because "formElement" is null



--
This message was sent by Atlassian Jira
(v8.20.10#820010)