Lorenzo Patocchi
2008-06-23 21:19:01 UTC
Hello,
we have upgraded from jahia 4.1.1 to jahia 4.2 build 19618 and noticed
a serious problem handing dateField
the tag:
<content:dateField name="fromDate" defaultValue="" diffActive="true"
display="false" valueId="fromDate" />
generated unusable output with 00 on month, i.e.: *16.00.2008 02:06*
Current workaround is:
org.jahia.data.beans.ContainerBean container =
(org.jahia.data.beans.ContainerBean)pageContext.getAttribute("newsContainer");
fDate = new
Date(Long.parseLong((String)container.getFieldObject("fromDate")));
but would be fine to have it working as 4.1 version.
but also editor is get affected by this bug.
Another problem is the reset date, actually not working.
Thank you for support.
--
Lorenzo Patocchi
Dipl. Ing. STS/ETS/HTL
***@cryms.com - www.cryms.com
Tel: +41 91 60 55266
Cel: +41 79 375 0891
Fax: +41 91 223 9797
Cryms sagl
Via Vedeggio 1
Uovo di Manno
6928 Manno - Lugano
Switzerland
we have upgraded from jahia 4.1.1 to jahia 4.2 build 19618 and noticed
a serious problem handing dateField
the tag:
<content:dateField name="fromDate" defaultValue="" diffActive="true"
display="false" valueId="fromDate" />
generated unusable output with 00 on month, i.e.: *16.00.2008 02:06*
Current workaround is:
org.jahia.data.beans.ContainerBean container =
(org.jahia.data.beans.ContainerBean)pageContext.getAttribute("newsContainer");
fDate = new
Date(Long.parseLong((String)container.getFieldObject("fromDate")));
but would be fine to have it working as 4.1 version.
but also editor is get affected by this bug.
Another problem is the reset date, actually not working.
Thank you for support.
--
Lorenzo Patocchi
Dipl. Ing. STS/ETS/HTL
***@cryms.com - www.cryms.com
Tel: +41 91 60 55266
Cel: +41 79 375 0891
Fax: +41 91 223 9797
Cryms sagl
Via Vedeggio 1
Uovo di Manno
6928 Manno - Lugano
Switzerland