[Building Sakai] xsl-portal and the toolstate parameter

Steve Swinsburg steve.swinsburg at gmail.com
Sun Mar 28 19:05:06 PDT 2010


Hi all,

I have an issue that manifests itself in the xsl-portal only:
http://jira.sakaiproject.org/browse/PRFL-264

I have a direct link to a tool in a site, with some parameters on the end and have used the toolstate param to make the link. Something like:

http://localhost:8080/xsl-portal/site/~a8ad22cb-837b-44b8-bad1-f92c68d1f204/page/1b12b447-389c-4767-a488-d4b414880b0b?toolstate-b85eccaa-cd6d-491b-a9f7-2896cc9326a5=%3Fwicket%3AbookmarkablePage%3D%3Aorg.sakaiproject.profile2.tool.pages.ViewProfile%26id%3D432a017b-1392-4ad8-a60b-f93ef5cc0134


This works fine in the normal portal. However, processing the above URL in the xsl-portal on 2.6.x causes an NPE with the error:

Fatal Error] :11:158: The reference to entity "id" must end with the ';' delimiter. 
2010-03-29 12:08:19,347 WARN http-8080-Processor23 org.sakaiproject.util.Xml - readDocumentFromString: org.xml.sax.SAXParseException: The reference to entity "id" must end with the ';' delimiter. 

On trunk, with a slightly different URL:
http://localhost:8080/xsl-portal/site/~31ae4f1c-28cf-49d2-a080-8d377a40bb84/page/cbaa87c1-b6b2-4b2c-958c-67f7100000f2?toolstate-8ae4a513-adeb-41be-a70e-cdff9fab8a93=%3Fwicket%3AbookmarkablePage%3D%3Aorg.sakaiproject.profile2.tool.pages.MyFriends 

I get this:
[Fatal Error] :11:159: The reference to entity "panel" must end with the ';' delimiter. 
2010-03-29 13:02:09,124 WARN http-8080-Processor23 org.sakaiproject.util.Xml - readDocumentFromString: org.xml.sax.SAXParseException: The reference to entity "panel" must end with the ';' delimiter. 


Any ideas on how to construct the URL so it works with the xsl-portal?

cheers,
Steve


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100329/bda60f2d/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3689 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100329/bda60f2d/attachment.bin 


More information about the sakai-dev mailing list