[Building Sakai] Sakai-2.7.0-rc1: Problems with adding pages to sites using Web Services API

Khaled Taleb-Agha i.m.kta2010 at gmail.com
Thu Jun 10 10:44:01 PDT 2010


We've installed the latest 2.7.0-rc1 on Tomcat 6 and Java 6. While
attempting to add pages to sites through web service calls, a problem
appears that was not present in our instance of Sakai-2.6.2, which runs on
Java 5 and Tomcat 5.5.

I created a new site by invoking addNewSite method in SakaiScript. Then I
added a few pages to the newly created site with the addNewPageToSite
methods (tried both overloaded methods). And then we added tools to each
page.

Problem #1: The page title is being set to the tool title of the first tool
added to a page. In 2.6.2, the page title would be set by the pageTitle
method parameter.
Problem #2: Occurs only in the first page that's been added to the site,
where I cannot add more than 1 tool to it. Regardless of how many body
columns I specify, it will only add the first tool to the first page. In
Sakai_Site_Tool table, only 1 tool is set for the first page. Subsequent
pages will display all the tools properly and as expected.

these are the methods in ScriptService.jws used:

adding pages to site:
addNewPageToSite(sessionId, siteId, pageTitle, pageLayout)
addNewPageToSite(sessionId, siteId, pageId, pageLayout, position, isPopup);

adding tool to page
addNewToolToPage(sessionId, siteId, pageTitle, toolTitle, toolId,
toolLayoutHints);


Any information about this bug(?) would be helpful. Thank you!

Khaled Taleb-Agha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100610/ed01b2f8/attachment.html 


More information about the sakai-dev mailing list