Author: bpapez
Date: Mon Sep 17 11:21:33 2007
New Revision: 18512
URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D18512&repname=
=3Djahia
Log:
removed forbidden access check in resolveJahiaPage as it made it impossible=
to call the homepage after a fresh Jahia install
Modified:
trunk/core/src/java/org/jahia/params/ProcessingContext.java
Modified: trunk/core/src/java/org/jahia/params/ProcessingContext.java
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/trunk/core/src/java/o=
rg/jahia/params/ProcessingContext.java&rev=3D18512&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
--- trunk/core/src/java/org/jahia/params/ProcessingContext.java (original)
+++ trunk/core/src/java/org/jahia/params/ProcessingContext.java Mon Sep 17 =
11:21:33 2007
@@ -343,7 +343,6 @@
* @param site
* @param user
* @param contentPage
- * @throws JahiaPageNotFoundException when the requested page could no=
t be found
* @throws JahiaSessionExpirationException
* when the user session expired
* @throws JahiaSiteNotFoundException when the specified site could no=
t be found
@@ -354,7 +353,7 @@
final JahiaSite aSite,
final JahiaUser user,
final ContentPage aContentPage)
- throws JahiaPageNotFoundException, JahiaSessionExpirationExcep=
tion,
+ throws JahiaSessionExpirationException,
JahiaSiteNotFoundException, JahiaException {
this(jSettings, aStartTime, aSite, user, aContentPage, new EntryLo=
adRequest(EntryLoadRequest.STAGED));
}
@@ -365,7 +364,7 @@
final JahiaUser user,
final ContentPage aContentPage,
final EntryLoadRequest loadRequest)
- throws JahiaPageNotFoundException, JahiaSessionExpirationExcep=
tion,
+ throws JahiaSessionExpirationException,
JahiaSiteNotFoundException, JahiaException {
Jahia.setThreadParamBean(this);
// default vars
@@ -3082,9 +3081,6 @@
=
protected void resolveJahiaPage() throws JahiaException {
if (getContentPage() !=3D null) {
- if(getPage()=3D=3Dnull && !getEngine().equals(Login_Engine.ENG=
INE_NAME)) {
- throw new JahiaForbiddenAccessException();
- }
setThePage(getContentPage().getPage(getEntryLoadRequest(),
getOperationMode(), getUser()));
}
_______________________________________________
cvs_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/cvs_list