You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by dk...@apache.org on 2020/01/02 22:53:17 UTC
[sling-org-apache-sling-app-cms] 02/09: Fixing issue in SLING-8947
- console failed to load if date invalid
This is an automated email from the ASF dual-hosted git repository.
dklco pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-app-cms.git
commit 1acf1ece3587be5f0daae07192246113e1478a9c
Author: Dan Klco <dk...@apache.org>
AuthorDate: Sat Dec 28 23:04:19 2019 -0500
Fixing issue in SLING-8947 - console failed to load if date invalid
---
.../jcr_root/libs/sling-cms/components/cms/contentgrid/contentgrid.jsp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ui/src/main/resources/jcr_root/libs/sling-cms/components/cms/contentgrid/contentgrid.jsp b/ui/src/main/resources/jcr_root/libs/sling-cms/components/cms/contentgrid/contentgrid.jsp
index c99214a..94948e5 100644
--- a/ui/src/main/resources/jcr_root/libs/sling-cms/components/cms/contentgrid/contentgrid.jsp
+++ b/ui/src/main/resources/jcr_root/libs/sling-cms/components/cms/contentgrid/contentgrid.jsp
@@ -121,7 +121,9 @@
</a>
</c:otherwise>
</c:choose>
+ <c:catch var="ex">
<fmt:formatDate type="both" dateStyle="long" timeStyle="long" value = "${child.valueMap['jcr:content/jcr:lastModified'].time}" />
+ </c:catch>
</small>
</div>
</footer>