[Building Sakai] Entity References Broken During Site Import: Solution Vote (KNL-737 or SAK-16568)

Bryan Holladay holladay at longsight.com
Thu Jul 28 07:54:54 PDT 2011


Correct.  For SAK-16568, once all the tools are done returning their maps,
each tool then gets the full map (all tools mappings) passed in so each tool
can update it's references where appropriate.

-Bryan

On Thu, Jul 28, 2011 at 10:48 AM, Matthew Buckett <
matthew.buckett at oucs.ox.ac.uk> wrote:

> On Thu, Jul 28, 2011 at 2:07 PM, Bryan Holladay <holladay at longsight.com>
> wrote:
> > Extends the EntityTransferrer API to return a Map<FromContext ->
> ToContext>
> > for every item that is transfered to the new site.  This includes all
> item
> > ref's (ex. assignment refs, forum refs, topic refs, ect) since most
> > information isn't based on Site ID.
>
> So, if I'm transferring the assignments from site-a to site-b then if
> I have 3 assignments in site-a the returned map might contain
> something like:
>
> {
>  "/assignment/site-a/267235": "/assignment/site-b/143434",
>  "/assignment/site-a/234324": "/assignment/site-b/234234",
>  "/assignment/site-a/234324": "/assignment/site-b/345832"
> }
>
> Yes?
>
> > Extends the EntityTransferrer API to add an implementable stub that is
> > called after all information is collected.  It sends over the collective
> > Map<FromContext->ToContext> to each tool in order to update any
> references
> > in that tool's item's text (or where ever that tool wants to update it's
> > references).
>
>
> --
>   Matthew Buckett
>   VLE Developer, LTG, Oxford University Computing Services
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110728/685a27d8/attachment.html 


More information about the sakai-dev mailing list