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

Matthew Buckett matthew.buckett at oucs.ox.ac.uk
Thu Jul 28 07:48:54 PDT 2011


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


More information about the sakai-dev mailing list