core
core copied to clipboard
Cannot change expire date on an existing contentlet to 'Never'
Describe the bug
You cannot change the expire date on an existing contentlet to 'never'. It throws the error Unable to convert string to date +0000
This issue makes it so you cannot manually unpublish content that has been published with an expire date.
Related ticket: https://dotcms.zendesk.com/agent/tickets/108062
To Reproduce
- Create a content type with Publish and Expire fields
- Create a contentlet of that content type, set the expire time to some time in the future
- Save, then re-open the contentlet
- Click the 'never' option and attempt to save the contentlet
- You will see the following error:

Expected behavior You should be able to remove expiry dates from contentlets with the 'never' option