Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-12246

Cannot update content of Product Config Item Content originally created without a From Date

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Release Branch 18.12, Trunk
    • Release Branch 18.12
    • product/catalog
    • None

    Description

      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.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            danwatford Daniel Watford
            danwatford Daniel Watford
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment