When using a tool with JSF2 + facelets, the requests crash with a NullPointerException.
After some research and comparing with the solution implemented in -SAK-20086-: Allow use of JSF 1.2 or JSF 2.0 it seems that the problem is that jsf2 module is using a custom view handler that extends from javax.faces.application.ViewHandler and it crash when using facelets (.jsp is fine).
The recommended way to create a custom view handler since JSF 1.2 is using javax.faces.application.ViewHandlerWrapper as parent class. see
Created several calendar events, sent/replied to messages, created quizzes.
Student was able to access events and messages both from the Home page and from the Overview page. Clicking the links took the user to the appropriate tool.
Student was able to take the quizzes without any problems.
I also searched the server logs for "org.sakaiproject.portal.api.PortalHandlerException" and did not find it.
If anything else is needed to verify this Jira, please let me know.
Andrea Schmidt August 20, 2019 at 5:23 PM
Hi Looking at old Jiras, it seems the tools to test are msgcntr, samigo or calendar. Is that still correct, and are there any other tools to add to this list?
Andrea Schmidt June 20, 2019 at 7:22 PM
Is there a way for QA to verify this Jira? Specific tools to be tested?
Earle Nietzel February 22, 2019 at 9:26 AM
Edited
Hi thanks for reporting this, the jsf2 module was mostly a port of the jsf1 module but it was never converted to facelets. Do you think if we converted the jsf2 module to use facelets that this issue would be resolved?
I ask this because that strategy is one of our goals.
When using a tool with JSF2 + facelets, the requests crash with a NullPointerException.
After some research and comparing with the solution implemented in -SAK-20086-: Allow use of JSF 1.2 or JSF 2.0 it seems that the problem is that jsf2 module is using a custom view handler that extends from javax.faces.application.ViewHandler and it crash when using facelets (.jsp is fine).
The recommended way to create a custom view handler since JSF 1.2 is using javax.faces.application.ViewHandlerWrapper as parent class. see
This solution is also explained in "Sakai JSF 1.2 Tools." section of University of Murcia's upgrading experience from 2.7 to 2.9.