[Building Sakai] Soap Page creation issue with 2.7.1

Jon Wheat JWheat at messiah.edu
Mon Jan 3 14:00:58 PST 2011


I think I'm losing my mind.
 
I ran my script to create our courses for the next term and I have this line (script has not changed at all since the last run)
 
print "+> -Adding pages to site $title ($newsiteid)<br/>\n  ";
       $res = $soap2->addNewPageToSite($session, $newsiteid, "Home", 1)->result;
       print "  home   ::" . $res . "\n";
 
(returns 'success') - Which by all means should create a page called 'Home'
 
however it creates a page called "Site Information Display" - and therefore screws the next lines -- since there's no 'Home' page -
 
       $soap2->addNewToolToPage($session, $newsiteid, "Home", "Site Information", "sakai.iframe.site", "0,0");
       $soap2->addNewToolToPage($session, $newsiteid, "Home", "Announcements", "sakai.synoptic.announcement", "0,1");
       $soap2->addNewToolToPage($session, $newsiteid, "Home", "Calendar", "sakai.summary.calendar", "2,1");
       $soap2->addNewToolToPage($session, $newsiteid, "Home", "Chat Messages", "sakai.synoptic.chat", "3,1");
       $soap2->addNewToolToPage($session, $newsiteid, "Home", "Messages & Forums Notifications", "sakai.synoptic.messagecenter", "4,1");
       print "+> -Adding properties to site \"$title\" <br/>\n  ";
       $soap2->addConfigPropertyToTool($session,$newsiteid,"Home","Site Information","height","300px");
 
All the rest of the pages and tools create fine - so I end up with a site with no Home tab with the summary blocks, but other working tools.
 
This is new with the 2.7.x install (ran the script with 2.6 last term - then upgraded to 2.7.1)
 
Doesn't matter what I call the first page I create, it never gets created.
However - (the crazy part) - I can go into the site and go to Site Info | Tools and see the Home tool unchecked ??  When I check it - its all configured and correct.
 
Is it just me or did something change with 2.7.x that I missed ?
-Jon

 
 

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110103/3601c8ac/attachment.html 


More information about the sakai-dev mailing list