Register a new theme with two sources (one with complete path, one with 
relative path) does not work in all cases
-----------------------------------------------------------------------------------------------------------------

                 Key: NXP-4020
                 URL: http://jira.nuxeo.org/browse/NXP-4020
             Project: Nuxeo Enterprise Platform
          Issue Type: Bug
            Reporter: Anahide Tchertchian
            Assignee: Thierry Delprat
             Fix For: 5.2.1


When  adding a new source path for galaxy, everything's orking fine.
When adding a new source path for a client theme, registered in a plugin, the 
following exception occurs:

2009-09-14 14:49:35,690 ERROR [org.nuxeo.runtime.model.RegistrationInfo] Failed 
to register extension. Contributor: RegistrationInfo: service:com.afp.asap.th
eme to service:org.nuxeo.theme.services.ThemeService; xpoint: themes
java.lang.NullPointerException
        at 
org.nuxeo.theme.relations.RelationStorage.remove(RelationStorage.java:49)
        at 
org.nuxeo.theme.themes.ThemeManager.removeInheritanceTowards(ThemeManager.java:1064)
        at 
org.nuxeo.theme.themes.ThemeManager.makeFormatInherit(ThemeManager.java:1051)
        at org.nuxeo.theme.themes.ThemeParser.parseFormats(ThemeParser.java:362)
        at 
org.nuxeo.theme.themes.ThemeParser.registerTheme(ThemeParser.java:194)
        at org.nuxeo.theme.themes.ThemeParser.registerTheme(ThemeParser.java:94)
        at 
org.nuxeo.theme.services.ThemeService.registerThemeExtension(ThemeService.java:354)
        at 
org.nuxeo.theme.services.ThemeService.registerExtension(ThemeService.java:129)


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

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to