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

Steve Swinsburg steve.swinsburg at gmail.com
Thu Jun 10 14:23:51 PDT 2010


Hi,

Can you please file this in JIRA with the steps to reproduce and some code (ie parameters) you are using and we'll take a look.

jira.sakaiproject.org

cheers,
Steve


On 10 Jun 2010, at 13:44, Khaled Taleb-Agha wrote:

> 
> 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
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> 
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"



More information about the sakai-dev mailing list