digitalroastery / weblounge

Web Content Management System
12 stars 4 forks source link

Implemenations of ResourceURI#getParentURI() not working under all circumstances #334

Open myniva opened 10 years ago

myniva commented 10 years ago

As an example, this code results in a NullPointerException because the implementation relies on a path being specified.

ResourceURI uri = new PageURI(site, null, id);
uri.getParentURI();