This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch release24.09
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/release24.09 by this push:
new b579d503ad Reverted: String to numeric conversion does not support
non-breaking spaces (OFBIZ-13168)
b579d503ad is described below
commit b579d503ad608a0b988b2f86e57b4d9458d2d1ec
Author: Jacques Le Roux <[email protected]>
AuthorDate: Thu Jan 2 11:18:52 2025 +0100
Reverted: String to numeric conversion does not support non-breaking spaces
(OFBIZ-13168)
Reverts previous commit
Despite https://github.com/apache/ofbiz-framework/pull/849/files
Exception is needed, when is not enough
I think I saw that before :/
---
.../base/src/test/java/org/apache/ofbiz/base/util/ObjectTypeTests.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/framework/base/src/test/java/org/apache/ofbiz/base/util/ObjectTypeTests.java
b/framework/base/src/test/java/org/apache/ofbiz/base/util/ObjectTypeTests.java
index ae3751e990..0a0318d5ff 100644
---
a/framework/base/src/test/java/org/apache/ofbiz/base/util/ObjectTypeTests.java
+++
b/framework/base/src/test/java/org/apache/ofbiz/base/util/ObjectTypeTests.java
@@ -301,7 +301,7 @@ public class ObjectTypeTests {
}
@Test
- public void testString() throws GeneralException {
+ public void testString() throws GeneralException, Exception {
simpleTypeOrObjectConvertTest("String->String", "one", "String",
"one");
simpleTypeOrObjectConvertTest("String->String", "one",
"java.lang.String", "one");
simpleTypeOrObjectConvertTestSingleMulti("empty-String->anything", "",
new String[] {"List", "Map"}, null);