core
core copied to clipboard
IE11 issue: cannot create or edit content that has the "Expire Date Field" set to a field
When I try to create new content or edit an existing content from which the Content Type has the "Expire Date Field" set to a "Date and Time" field, the page won't render and I'm left with a grey blank page. This works fine in browsers such as Chrome and Firefox, but not in IE11 (while IE11 is supported by dotCMS as stated on the site).
To reproduce:
- Edit Content Type.
- Create a System Indexed "Date and Time" field.
- Go to properties and set the field created above as "Expire Date Field".
- Create a new content with this Content Type or edit an existing content from the same Content Type, this will cause appearance of a grey blank page with this error in the log:
"Unable to get property 'fieldNeverExpire' of undefined or null reference"
It crashes on this line: document.forms["fm"].elements["fieldNeverExpire"].value ="true";
It seems like document.forms["fm"].elements is undefined.
Browser: Internet Explorer 11.576.14393.0 Operating System: Windows 10 x64 Pro N