[Building Sakai] Web Content 10.1 in Sakai 2.9.1

Curtis Van-Osch curtis.van-osch at hec.ca
Fri Sep 5 11:21:23 PDT 2014


Nice catch Adam and Chuck,
I thought I had deleted anything that wasn't present in the new version, 
but those changes didn't get committed to SVN so I did indeed retain the 
tool registration xmls.  I suppose the web-portlet tool is trying to 
register them also, hence the race condition.

Since I'd already rolled back the 10.1 changes, I decided to try out 
2.9.3.  If it has the fixes we need, I guess we're better off avoiding 
the kernel changes and just generally sticking to our current major 
release version.

Thanks everyone!

<http://www.hec.ca>
	
Curtis Van Osch
Analyste-Programmeur
Service de développement de systèmes d'information
hec.ca <http://www.hec.ca>
Agréments 	
3000, chemin de la Côte-Sainte-Catherine, Montréal (Québec) H3T 2A7
Téléphone : 514 340-6000, poste 2029

	
recyclez 		
Pensons à l'environnement
avant d'imprimer

-------- Message original --------
Sujet: Re: [Building Sakai] Web Content 10.1 in Sakai 2.9.1
De : Charles Severance <csev at umich.edu>
Pour : Adam Marshall <adam.marshall at it.ox.ac.uk>
Copie à : Curtis Van-Osch <curtis.van-osch at hec.ca>, dev sakai 
<sakai-dev at collab.sakaiproject.org>
Date : 2014-09-04 18:32
> Adam's idea is plausible as well.   You need to make a change to this 
> folder:
>
> https://source.sakaiproject.org/svn/web/branches/sakai-2.8.x/web-tool/tool/src/webapp/tools/
>
> Remove all of the registrations except for sakai.iframe.annotatedurl.xml
>
> Make it look like this:
>
> https://source.sakaiproject.org/svn/web/branches/sakai-2.9.x/web-tool/tool/src/webapp/tools/
>
> If you don't remove these - there is a race to see which tool code 
> registers the sakai.iframe tool identifier
>
> It will be consistent once the boot is complete - but each boot is a 
> race :)
>
> Removing the files to match 2-9-x means there is no more race.
>
> /Chuck
>
>
> On Sep 4, 2014, at 6:03 PM, Adam Marshall <adam.marshall at it.ox.ac.uk 
> <mailto:adam.marshall at it.ox.ac.uk>> wrote:
>
>> It sounds like you're running 2 web content tools. We had the same 
>> issue. It is pretty random which one gets loaded.
>>
>> Its a build issue, possibly maven?
>>
>> Adam
>> sent from my phone
>>
>> On 4 Sep 2014 19:11, Curtis Van-Osch <curtis.van-osch at hec.ca 
>> <mailto:curtis.van-osch at hec.ca>> wrote:
>> Hi,
>> I'm trying to see if it's viable for us to run version 10.1 of the 
>> web content module running in our Sakai 2.9.1 instance (for the 
>> better http handling in a secure environment).  I simply dropped the 
>> code in, and after a few modifications (and some small additions to 
>> kernel) it seems to be working fine.  However, I'm seeing different 
>> behaviour between two of our test instances.
>>
>> Specifically for the sakai.iframe.site tool, but similarly for the 
>> normal iframe tool:
>>
>>   * In the dev instance (non secure), the "Options" button is
>>     displayed below the title, and in options ckeditor is correctly
>>     loaded.  Upon inspection with firebug, this is within an iframe.
>>   * In our QA instance (using https), the options button is missing
>>     (replaced by an icon in the upper right hand corner.  When
>>     clicked the options are within a div and ckeditor fails to load
>>     (error message "ReferenceError: sakai is not defined").
>>
>> Is this behaviour to be expected?  As far as I can tell both are 
>> running the exact same code.
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140905/cf93f955/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HEC_149px.png
Type: image/png
Size: 2554 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140905/cf93f955/attachment.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hecca.png
Type: image/png
Size: 345 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140905/cf93f955/attachment-0001.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3A-2008.png
Type: image/png
Size: 2335 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140905/cf93f955/attachment-0002.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Feuille_25px.jpg
Type: image/jpeg
Size: 20493 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140905/cf93f955/attachment.jpg 


More information about the sakai-dev mailing list