Sie, Yang wrote:
Hello:

We have a page with nested layout on it. We are using DBPageManager in
prod and file system page manager in dev. Say, there are say five
portlets on it. Two of them are viewable for everyone I will call them
public ones. Inside the inner most level of nested layout, there are
three portlets. The use case is that even though the current user has no
rights to see those three portlet, the user should see the two public
ones.

The problem that I have now is that the page is failed to render with
null pointer exception all over the places from ContentFragmentImpl.java
(isEmpty(), size(), etc. I tried to address them myself, but setting
return values to true for isEmpty when baseList==null and 0 as size
respectively. The page rendered fine. However, it caused more null
pointer exceptions when I tried to add portlet. The null pointer
exceptions occurred in ContentFragmentImpl$ContentFragmentList.add and
PageImpl.getFragmentById, etc. please advise.
I provide below the exceptions before and after ContentFragmentImpl
hack...
Please create a JIRA issue.
I will start looking into this today

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to