cms icon indicating copy to clipboard operation
cms copied to clipboard

Date doesn't update for Multisite Entries.

Open dagy304 opened this issue 4 years ago • 4 comments

Bug Description

If i update a Date Field (generated with "Enable Publish Dates") for an Entry in my Collection, the Date field in the Entries of the other Languages doesn't update.

How to Reproduce

Create Entry for Collection with "Enable Publish Dates" active. Change the Date fot the Created Entry. Edit other Multisite locale for the Entry and the Date field is still the old Date.

Extra Detail

New Entry for Site "Statamic" Create Entry ‹ Test ‹ Collections ‹ Statamic 1 Entry Translation for Site "two" Test ‹ Collections ‹ Statamic 2 Changed Date Field for Site "Statamic" Test ‹ Collections ‹ Statamic 3 Date Field not updated for Site "two" Test ‹ Collections ‹ Statamic 4

Environment

Statamic version: 3.0.48

PHP version: 7.4

Install method (choose one):

  • Existing Laravel app
  • Also tried on fresh installation with statamic/statamic

dagy304 avatar Mar 29 '21 12:03 dagy304

What does that date field look like in your blueprint? Is it localised?

duncanmcclean avatar Apr 17 '21 21:04 duncanmcclean

Yes, this is how my test blueprint looks like:

title: test
sections:
  main:
    display: Main
    fields:
      -
        handle: title
        field:
          type: text
          required: true
          validate:
            - required
      -
        handle: content
        field:
          type: markdown
          localizable: true
  sidebar:
    display: Sidebar
    fields:
      -
        handle: slug
        field:
          type: slug
          required: true
          localizable: true
          validate:
            - required
      -
        handle: date
        field:
          type: date
          required: true
          localizable: true
          validate:
            - required

dagy304 avatar Apr 20 '21 09:04 dagy304

Just ran into this. Confirmed!

robdekort avatar May 26 '22 20:05 robdekort

Just ran into this too... 😕

j3ll3yfi5h avatar Feb 05 '24 17:02 j3ll3yfi5h

Having the same issue

dryven-daniel avatar Jun 06 '24 12:06 dryven-daniel

I'm also having the same issue on two current projects. Is there any current workaround, or even a possible fix on the horizon?

chopperoon avatar Jun 10 '24 13:06 chopperoon