Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-1090

Editing Content with Date attribute always set the date to a previous day

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Customer request, 3.3.15, 4.0.2
    • 3.3.8, 3.3.9
    • None
    • None
    • Ubuntu 20.04.

      PHP 7.4.3

      mariadb Ver 15.1 Distrib 10.3.31-MariaDB

    • Ibexa Content, Ibexa Open Source

    Description

      This a report that the solution in IBX-964 DOES NOT work.

      Steps to Reproduce

      1. Install clean Ibexa DXP 3
      2. Set timezone to America/Vancouver
      3. Edit CT Article and add a new Date field
      4. Create a new content Article, set a Date, and publish
      5. Edit content, check a Date field - DAY HAS BEEN CHANGED HERE, publish again

      Other details

      My PHP timezone is America/Sao_Paulo

      I created an article, selected September 23, 2021.

      Published.

      Article preview shows September 23, 2021.

      Edited the Article again and now the selected date is  September 22, 2021.

      Could you please check the original ticket description where I pointed the changes in IBX-300 caused the issue? When we reverted the changes in:

      vendor/ezsystems/ezplatform-admin-ui/src/bundle/Resources/public/js/scripts/fieldType/ezdate.js

      vendor/ezsystems/ezplatform-admin-ui/src/bundle/Resources/views/themes/admin/ui/field_type/preview/content_fields.html.twig

      vendor/ezsystems/ezplatform-kernel/eZ/Publish/Core/FieldType/Date/SearchField.php

      vendor/ezsystems/ezplatform-kernel/eZ/Publish/Core/FieldType/Date/Value.php

      It fixed completely.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              d674a705-0864-4b4c-899c-19136e429c4a@accounts.ibexa.co Don't Toy With Me, Ibexa DXP
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: