-
Type:
Regression Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.1.1 CE GA2, 6.1.2 CE GA3, 6.1.20 EE GA2, 6.1.30 EE GA3, 6.2.1 CE GA2, 6.2.10 EE GA1, 6.2.X EE, 7.0.0 M3
-
Fix Version/s: 6.2.2 CE GA3 , 6.2.X EE, 7.0.0 M3
-
Component/s: Portal Services, Portal Services > Portal Utilities
-
Branch Version/s:6.2.x
-
Backported to Branch:Committed
-
Story Points:8
-
Fix Priority:3
-
Git Pull Request:
1) Use the following api:
DateUtil.equals(null, new Date(), false);
Checkpoint: returns with false
2) Use
DateUtil.equals(null, new Date(), true);
Result:
[render_portlet_jsp:132] null
java.lang.NullPointerException...
Hint: execute it as Groovy-script from Server Admin:
out.println(com.liferay.portal.kernel.util.DateUtil.equals(null, new Date(), true));