You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Search existing issues to make sure the bug has not been reported already.
Describe the bug
When using the preview button and not setting a time for modified, you can see the preview and it has a time of 00:00:00 but when returning to the node edit for there is an error that a time is required. Adding a time is not required if the preview button isn't used and the node is saved first.
Steps To Reproduce
Open a DKAN admin site with the preview button re-enabled.
Create a new dataset
Set just the date for the Modified field and all other required fields.
Before saving, click the preview button
On the preview page, click the back to dataset creation button
You should now see the an error that a time is required
Try to save the dataset and the error will prevent this action
Set a time and successfully save
As a control, on the same site create a dataset and add a modified date with no time and save the dataset. It should save successfully and now you can preview it and come back and the error will not appear.
Expected behavior
A default time that is added during save is also added when using the preview button.
The text was updated successfully, but these errors were encountered:
Search existing issues to make sure the bug has not been reported already.
Describe the bug
When using the preview button and not setting a time for modified, you can see the preview and it has a time of 00:00:00 but when returning to the node edit for there is an error that a time is required. Adding a time is not required if the preview button isn't used and the node is saved first.
Steps To Reproduce
As a control, on the same site create a dataset and add a modified date with no time and save the dataset. It should save successfully and now you can preview it and come back and the error will not appear.
Expected behavior
A default time that is added during save is also added when using the preview button.
The text was updated successfully, but these errors were encountered: