Portal does not start without pre-population from initial_data.sql
------------------------------------------------------------------
Key: RAVE-478
URL: https://issues.apache.org/jira/browse/RAVE-478
Project: Rave
Issue Type: Bug
Affects Versions: 0.8-INCUBATING
Reporter: Jasha Joachimsthal
Priority: Critical
Fix For: 0.9-INCUBATING
DefaultPagePermissionEvaluator and DefaultPageService (and maybe other
components) do a call in the constructor to PageTypeRepository to fetch values
from the database. This only works if the portal is started with the
initial_data.sql population script. This script only works on H2 (and possibly
MySQL) but does not work in PostgreSQL or Oracle.
Without a pre populated database these calls throw an NPE and as a result the
/portal context is not loaded at all.
The constructor of components should not rely on a populated database or should
use default values if the database is empty.
--
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