mraible opened a new pull request, #283:
URL: https://github.com/apache/roller/pull/283

   Draft until 7.0.0 is released, so the RC stays as tested.
   
   `/roller-ui/authoring/themedata?theme=<id>` answered 500 ("ERROR fetching 
theme data") for an id that doesn't exist, because `ThemeManager.getTheme()` 
throws `ThemeNotFoundException` and the servlet treated every 
`WebloggerException` the same. It now answers 404 for an unknown theme and 
still answers 500 for other errors.
   
   - The endpoint needs a login, and the Theme and Create Weblog pages only ask 
for themes from their own lists, so users don't see this; it only tidies the 
response.
   - `ThemeDataServletTest` adds a case for an unknown id.
   
   Found on a copy of raibledesigns.com while retesting #279 and #282.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to