You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2026/09/07 11:19:00 UTC

[jira] [Commented] (OFBIZ-13561) createInvoiceItemPayrol crashes on Deduction/Tax amount entryCopied

    [ https://issues.apache.org/jira/browse/OFBIZ-13561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18112300#comment-18112300 ] 

ASF subversion and git services commented on OFBIZ-13561:
---------------------------------------------------------

Commit 206af2c56c8a07dfb3f4d821504a01675c6d9eaf in ofbiz-framework's branch refs/heads/trunk from Mridul Pathak
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=206af2c56c ]

Fixed: createInvoiceItemPayrol crashes on Deduction/Tax amount entry (OFBIZ-13561)

- Coerced the raw HTTP-string Amount parameter to BigDecimal before negating it (this event receives raw, unconverted request strings, unlike a service context) - fixes a crash on every Deduction/Tax line item entry
- Removed the ?: 1d/?: 0d defaults for blank Quantity/Amount to match minilang's null-skip behavior, restoring the original validation-rejects-blank-amount behavior for Earnings/Hours rows
- Restored the description separator's leading space ("X : Y", matching minilang) lost in the conversion


> createInvoiceItemPayrol crashes on Deduction/Tax amount entryCopied
> -------------------------------------------------------------------
>
>                 Key: OFBIZ-13561
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13561
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>    Affects Versions: Upcoming Branch, 24.09.07
>            Reporter: Mridul Pathak
>            Assignee: Mridul Pathak
>            Priority: Critical
>
> Numeric operation applied to an unconverted text parameter.



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