Saving Template causes Null Pointer Exception
---------------------------------------------

                 Key: ROL-1930
                 URL: https://issues.apache.org/jira/browse/ROL-1930
             Project: Roller
          Issue Type: Bug
          Components: User Interface - General
    Affects Versions: 5.1
            Reporter: David Johnson
            Assignee: David Johnson
            Priority: Blocker
             Fix For: 5.1


Steps to reproduce:
1) Upgrade from Roller 5.0 to Roller 5.1 via normal upgrade process
2) Login and edit one of your templates
3) Save your template and you'll get an error, if you look in the logs you will 
see that it is a Null Pointer Exception

This is caused because the Template does not have a "Template Code" object 
associated with it yet. 

One possible way to fix this is: if a template code object is not found, then 
create a new one.



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to