#1262 closed defect (fixed)
Editor window unusable in IE if a <gmd:Date> is empty
Reported by: | landry | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | v2.8.1 |
Component: | General | Version: | v2.8.0 |
Keywords: | Cc: |
Description
Using IE9, if the XML contains smth like
<gmx:editionDate><gmd:Date/></gmx:editionDate> }}} (for a thesaurus keyword) then ext-ux DateTime component barfs on {{{ web-client/src/main/resources/apps/js/ext-ux/DateTime/DateTime.js: this.dateValue = new Date(Ext.isIE ? val.getTime() : val); }}} probably because val is undefined.... The js error makes the toolbar inactive, so editing a MD is not possible. Experienced on 2.8.x and master.
Change History (3)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
2.8.x commit d358ba06d21b5fb6ab6d4628dd62e8dd4ad91f07 master commit c564ce0d33623f779296c151cb09bf90a4554daa
comment:3 by , 12 years ago
Milestone: | v2.9.0 → v2.8.1 |
---|
Note:
See TracTickets
for help on using tickets.
The problem comes from val.getTime which is undefined. Not sure why.
Any better fix ?