strapi-community/strapi-plugin-publisher

After new article is published with date in the past, the previous article is hidden from view and publish date is unassigned

DaDlugosch opened this issue · 5 comments

Hello. I encountered an issue with publishing articles after the update from 1.3.6 to 1.3.7. When I publish an article with the date in the past, the previous one is hidden from the view (can be shown in the database as a column is_visible_in_list_view with value 0) and the publish date is removed from the database (can be shown as a value null). And this is repeated after each publication, only when the article's status is changed from draft to published.

image

Did you also update your strapi version as well?

I would assume it's some regression there first as the only change between v1.3.6 and v1.3.7 was how deps are handled (1.3.6...1.3.7)

@ComfortablyCoding Yes, I also updated strapi version along with these updates:
image

@ComfortablyCoding Even after I updated the Strapi version, where should be some publication errors fixed, the issue still persists. Also, when I select a date in the publication field, it changes a date to one day before. I attached the video example.

Screen.Recording.2023-07-20.at.12.15.50.mov

I will check to see if I can reproduce this issue.

If you have a test instance for your setup I would recommend rolling back the changes and then updating each one by one and seeing at what point the error reproduces.

@ComfortablyCoding After further investigation, I found out that the issue was caused by upgrading plugin @notum-cz/strapi-plugin-content-versioning from the version 0.4.7 to the version 0.4.9.
The new issue can be found in the correct repo here: notum-cz/strapi-plugin-content-versioning#104.

Anomalies with date selection still persists, but I think it should be topic for a new issue, not this one.