[
https://issues.apache.org/jira/browse/OFBIZ-13297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18024790#comment-18024790
]
Jacques Le Roux commented on OFBIZ-13297:
-----------------------------------------
It's actually related to OFBIZ-13183.
More specifically to
[a82d970|https://github.com/apache/ofbiz-framework/pull/862/commits/a82d97025fef1cae65c69e2fab982cda31d865ba]
and maybe more.
When looking at [79e55dd|http://example.com/], that I committed on Dec 16 2024,
I believe a large part is OK, like the email changes, but not only.
The only part that is really an issue is the number part. I think that could be
adapted by adding [HTML5
step|https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/step]
when generating HTML code.
We could conjugate step with arithmetic.properties, maybe enhancing it if
necessary.
BTW it's not only an entering issue but also a loading issue.
For instance in
[stable|https://demo-stable.ofbiz.apache.org/catalog/control/EditProductPrices?productId=GZ-1000]
with demo data for Tiny Gizmo [ID:GZ-1000] prices
Average Cost Purchase/Initial American Dollar [USD] is 8.9 and rendered as null
in
[trunk|https://demo-trunk.ofbiz.apache.org/catalog/control/EditProductPrices?productId=GZ-1000]
Default Price Purchase/Initial American Dollar [USD] is 15.99 and is rendered
as null too
> Regression when willing to enter decimals
> -----------------------------------------
>
> Key: OFBIZ-13297
> URL: https://issues.apache.org/jira/browse/OFBIZ-13297
> Project: OFBiz
> Issue Type: Bug
> Components: ALL COMPONENTS
> Affects Versions: Upcoming Branch
> Reporter: Jacques Le Roux
> Priority: Major
> Fix For: Upcoming Branch
>
>
> Pierre Smits, who is not allowed to create Jira issues, reported me that
> contrary to current stable version (24.09), you can't enter decimals in
> places that require it.
> It gave me the example of product prices. I also found that it's not possible
> when creating a requirement with the quantity value:
> ordermgr/control/EditRequirement.
> I remember some changes about that, but it's not quite clear in my mind.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)