core icon indicating copy to clipboard operation
core copied to clipboard

IE11 issue: cannot create or edit content that has the "Expire Date Field" set to a field

Open yasindilekci opened this issue 9 years ago • 0 comments

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:

  1. Edit Content Type.
  2. Create a System Indexed "Date and Time" field.
  3. Go to properties and set the field created above as "Expire Date Field".
  4. 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

yasindilekci avatar Feb 02 '17 21:02 yasindilekci