[jira] [Assigned] (OFBIZ-12246) Cannot update content of Product Config Item Content originally created without a From Date

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Assigned] (OFBIZ-12246) Cannot update content of Product Config Item Content originally created without a From Date

Nicolas Malin (Jira)

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

Daniel Watford reassigned OFBIZ-12246:
--------------------------------------

    Assignee: Daniel Watford

> Cannot update content of Product Config Item Content originally created without a From Date
> -------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-12246
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12246
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product/catalog
>    Affects Versions: Release Branch 18.12, Trunk
>            Reporter: Daniel Watford
>            Assignee: Daniel Watford
>            Priority: Major
>
> Using demo data, click Prepare Create at https://localhost:8443/catalog/control/EditProductConfigItemContent?configItemId=SC00000
> Create new content but leave the From Date and To Date fields blank.
> On screen https://localhost:8443/catalog/control/EditProductConfigItemContent?configItemId=SC00000 note that the From Date has been populated with a timestamp for the new content will millisecond resolution.
> Assuming OFBIZ-12245 fix has been implemented, click on title of new content to edit it. Attempts to update the content will fail since the From Date will be truncated to the nearest second, meaning attempts to find the content in the database will fail in service, updateSimpleTextContentForProductConfigItem
> To resolve, ensure system generated From Dates are truncated to second resolution rather than millisecond resolution.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)