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](https://private-user-images.githubusercontent.com/39583615/254544983-25299aa8-be66-4869-a392-d387bb17ae66.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTQ5MDUzNjAsIm5iZiI6MTcxNDkwNTA2MCwicGF0aCI6Ii8zOTU4MzYxNS8yNTQ1NDQ5ODMtMjUyOTlhYTgtYmU2Ni00ODY5LWEzOTItZDM4N2JiMTdhZTY2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA1MDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNTA1VDEwMzEwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThmN2Q2MTE0YzZjZTQ2MTc5ODM0NzhlNjc5MjJmZWE5Njk4YTNiY2FlOGI4MjAzOWIyZGExMmExNWIzYTNiMGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.5o8z5cWw_HPY2AdL5yx6YIVC9c-Wta-fHoBl2jpup1U)
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:
@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.