[Deploying Sakai] still having Lessonbuilder import problems

Sam Ottenhoff ottenhoff at longsight.com
Thu Nov 10 08:39:47 PST 2011


Hi Anders,

My only recommendation would be to to depend on the actual SVN commit
instead of depending on patch files attached to JIRAs.

The relevant JIRA seems to be here:

  https://jira.sakaiproject.org/browse/SAK-21323

I recommend using the svn merge command to bring in actual commit done to
Sakai trunk instead of trying to use the patch files.

Is it possible that your error is simply related to the commas and
parentheses related to the new method originalToolsIds?

--Sam

On Thu, Nov 10, 2011 at 4:05 AM, Anders Nordkvist
<anders.nordqvist at his.se>wrote:

>  Hi,****
>
> ** **
>
> Im trying to get the import from a site with lessonbuilder to another site
> to work!****
>
> For this to work I had to insert code from three different jiras as you
> can see below. Im running sakai 2.7.x and trying to import lessonbuilder
> tool from one course site to another.****
>
> ** **
>
> I have inserted the code from the three diff files (19686,
> siteaction.diff, and siteaction2.diff) and (18616, siteaction).****
>
> Whern I first try I´t wont build, the code halts with error:****
>
> ** **
>
> ** **
>
> [ERROR] BUILD FAILURE****
>
> [INFO]
> ------------------------------------------------------------------------**
> **
>
> [INFO] Compilation failure****
>
> /home/sakai/sakai-2.7.x/site-manage/site-manage-tool/tool/src/java/org/sakaiproject/site/tool/SiteAction.java:[2410,32]
> orderToolIds(org.sakaiproject.event.api.SessionState,java.lang.String,java.util.List)
> in org.sakaiproject.site.tool.SiteAction cannot be applied to
> (org.sakaiproject.event.api.SessionState,java.lang.String,java.util.List<java.lang.String>,boolean)
> ****
>
> ** **
>
> When I then remove the “false” from siteaction2 in 18616:****
>
> ** **
>
> context.put(STATE_TOOL_REGISTRATION_LIST, state****
>
>
> .getAttribute(STATE_TOOL_REGISTRATION_LIST));****
>
>                         context.put("selectedTools", orderToolIds(state,
> site_type,****
>
> -                                       (List)
> state.getAttribute(STATE_TOOL_REGISTRATION_SELECTED_LIST), false)); //
> String toolId's****
>
> +
> originalToolIds((List<String>)
> state.getAttribute(STATE_TOOL_REGISTRATION_SELECTED_LIST), state), false
> ));****
>
>                         context.put("importSites",
> state.getAttribute(STATE_IMPORT_SITES));****
>
>                         context.put("importSitesTools", state****
>
>
> .getAttribute(STATE_IMPORT_SITE_TOOL));****
>
> ** **
>
> It build with success!****
>
> ** **
>
> Im not really sure what to make of it. Im not so good at java programming
> L ****
>
> What do you think?****
>
> ** **
>
> ** **
>
> Best regards****
>
> Anders nordqvist****
>
> System administrator****
>
> University college of Skövde****
>
> Sweden****
>
> ** **
>
> _______________________________________________
> production mailing list
> production at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/production
>
> TO UNSUBSCRIBE: send email to
> production-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/production/attachments/20111110/b9668704/attachment.html 


More information about the production mailing list