Author: bpapez
Date: Tue Sep 25 17:33:29 2007
New Revision: 18648

URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D18648&repname=
=3Djahia
Log:
http://www.jahia.net/jira/browse/JAHIA-2367: SP3: Double login required on =
first connection after reboot when accessing directly to a 403 page
There is a check in the ContentPage.getPage() method checking for title=3D=
=3Dnull, which I have removed, so that the wrong 403 did not come up anymor=
e. I hope there are no other side-effects to it.

Modified:
    branches/JAHIA-5-0-SP-BRANCH/core/src/java/org/jahia/services/pages/Con=
tentPage.java

Modified: branches/JAHIA-5-0-SP-BRANCH/core/src/java/org/jahia/services/pag=
es/ContentPage.java
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/branches/JAHIA-5-0-SP=
-BRANCH/core/src/java/org/jahia/services/pages/ContentPage.java&rev=3D18648=
&repname=3Djahia
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/JAHIA-5-0-SP-BRANCH/core/src/java/org/jahia/services/pages/Con=
tentPage.java (original)
+++ branches/JAHIA-5-0-SP-BRANCH/core/src/java/org/jahia/services/pages/Con=
tentPage.java Tue Sep 25 17:33:29 2007
@@ -634,12 +634,13 @@
             if (!page.checkReadAccess(user)) {
                 return null;
             }
-            if (!operationMode.equals(ProcessingContext.EDIT) && !operatio=
nMode.equals(ProcessingContext.COMPARE)) {
-                // only allow null titles if in edit mode
-                if (page.getTitle() =3D=3D null) {
-                    return null;
-                }
-            }
+// Commented due to JAHIA-2367 - uncomment again if there are other side e=
ffects to it
+//            if (!operationMode.equals(ProcessingContext.EDIT) && !operat=
ionMode.equals(ProcessingContext.COMPARE)) {
+//                // only allow null titles if in edit mode
+//                if (page.getTitle() =3D=3D null) {
+//                    return null;
+//                }
+//            }
             if (!operationMode.equals(ProcessingContext.NORMAL)
                     && !operationMode.equals(ProcessingContext.COMPARE)) {
                 // only return page in edit or preview mode if we have wri=
te

_______________________________________________
cvs_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/cvs_list

Reply via email to