Home page definition: exception + are they useful?
--------------------------------------------------

                 Key: JAHIA-3585
                 URL: http://www.jahia.net/jira/browse/JAHIA-3585
             Project: Jahia Web Content Management Server (WCMS)
          Issue Type: Bug
          Components: Administration Center
    Affects Versions: WCM 6.0 (Andromeda)
         Environment: 22692
            Reporter: Stephane Croisier
            Assignee: Thomas Draier
             Fix For: WCM 6.0 (Andromeda)


I have several virtual sites. For one given site (not the latest created, nor 
the default one), I tried to enter some new home page definition. This was not 
working and this redirecte me to the latest created virtual site (why the 
latest I do not know). On the latest virtual site, I retried the operation and 
the selection of a default home page caused the following error.

Before repairing it, should n't we rather get rid of such a module and benefit 
from this release to clean-up such a piece of code? The goal was to be able to 
automatically assign an home page for newly created user. I am not sure this 
work with LDAP user. And a JSP scriptlet or a widget  would be certainly better 
to perform such an operation (bulk editing of users default home page). The 
second goal was to automatically create some new page or section at the 
creation of a new user. Such a module was never implemented. With the new XML 
import feature I think it is more related to the "Save as new template" kind of 
feature. 

So I think we could clean-up the whole section from Andromeda. Please be sure 
to clean-up the back-end but also the front-end in order to remove all the 
icons, rules, license key, etc.. in the admin center regarding such a module.

The exception:
2008-10-21 17:00:49,281: INFO  [org.jahia.admin.homepages.HomePageTool] - 
Started displayHomePageTool
[GC 246089K->235516K(944192K), 0.0119753 secs]
2008-10-21 17:00:49,468: ERROR [org.jahia.bin.JahiaAdministration] - Error 
during users operation of a new element we must flush all caches to ensure 
integrity between database and viewing
java.lang.NullPointerException
        at 
org.jahia.admin.users.ManageUsers.processUserEdit(ManageUsers.java:699)
        at 
org.jahia.admin.users.ManageUsers.userRequestDispatcher(ManageUsers.java:195)
        at org.jahia.admin.users.ManageUsers.<init>(ManageUsers.java:136)
        at 
org.jahia.bin.JahiaAdministration.userRequestDispatcher(JahiaAdministration.java:459)
        at 
org.jahia.bin.JahiaAdministration.service(JahiaAdministration.java:270)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at 
org.jahia.bin.filters.jcr.JcrSessionFilter.doFilter(JcrSessionFilter.java:23)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at 
org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:164)
        at 
org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
        at 
org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
        at 
org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
        at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:619)
2008-10-21 17:00:49,765: INFO  [org.jahia.services.cache.CacheFactory] - 
Flushed all caches.
[GC 246460K->236419K(946112K), 0.0172582 secs]
[GC 249347K->236595K(945344K), 0.0161820 secs]
2008-10-21 17:01:11,250: INFO  [org.jahia.admin.homepages.HomePageTool] - 
Started displayHomePageTool
2008-10-21 17:01:18,812: INFO  [org.jahia.admin.homepages.HomePageTool] - 
Started displayHomePageTool

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://www.jahia.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to