[
https://issues.apache.org/jira/browse/OFBIZ-3859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12888932#action_12888932
]
Scott Gray commented on OFBIZ-3859:
-----------------------------------
After looking at createCalendarExceptionDay, I see two problems:
1. The service definition types exceptionCapacity as a BigDecimal but the
entity definition types it as a double, hence the mismatch
2. set-nonpk-fields ultimately just calls GenericEntity.set(String, Object),
once upon a time this method would print (not throw) an exception if a mismatch
occurred but would then convert it to the correct type but this doesn't appear
to happen anymore.
I would check the svn history and reinstate whatever logic was in place before
the conversion framework took over.
> Convert parameters before using entity-engine
> ---------------------------------------------
>
> Key: OFBIZ-3859
> URL: https://issues.apache.org/jira/browse/OFBIZ-3859
> Project: OFBiz
> Issue Type: Bug
> Components: manufacturing
> Affects Versions: SVN trunk
> Reporter: matthieu bollot
> Attachments: ofbiz-3859.patch
>
>
> Now, values need to be converted before using entity-engine. I'll provide a
> patch corresponding to this selenium test :
> http://selenium.neogia.org/ofbiz/tests/ManufacturingCreateCalendarAndWeek.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.