This logic is also used in DefaultPageService which even needs the entityid (so I cannot fake fixed values in there).
Jasha On 21 February 2012 12:59, Jasha Joachimsthal <[email protected]>wrote: > I'm currently working on a setup with Oracle. The schema should be > generated by JPA and then we can add some necessary records for authorities > and layouts. > During startup Spring tries to create a bean for the > DefaultPagePermissionEvaluator which calls the PageTypeRepository in its > constructor. Spring throws an exception because there are no pagetypes in > my empty database and the context /portal is not available. No schema is > created so I cannot populate the tablespaces either. For me this is a > catch-22 because I don't know the exact syntax to populate the Oracle table > spaces. > IMO we shouldn't rely on a pre-populated database since the only database > we can guarantee to be populated is H2 in the demo setup. The SQL scripts > may also work on MySQL, but certainly don't work on PostgreSQL or Oracle. > Who can fix the DefaultPagePermissionEvaluator? > > Jasha Joachimsthal > > Europe - Amsterdam - Oosteinde 11, 1017 WT Amsterdam - +31(0)20 522 4466 > US - Boston - 1 Broadway, Cambridge, MA 02142 - +1 877 414 4776 (toll > free) > > www.onehippo.com >
