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

Bryan Holladay holladay at longsight.com
Thu Jul 28 08:39:00 PDT 2011


So it sounds like it may be a good idea to mix parts of KNL-737 and
SAK-16568.  Have KNL-737 do all it's resources magic and use SAK-16568 to
handle entity references inside tools.  Would this be feasible/logical?


On Thu, Jul 28, 2011 at 11:19 AM, Bryan Holladay <holladay at longsight.com>wrote:

> If you only select Syllabus not much would happen.  Here's the workflow:
>
> -Export Syllabus returns map of any syllabus entities (but since syllabus
> doesn't have any entities, the map would be empty)
> -Syllabus then gets the empty map and doesn't need to convert anything b/c
> nothing exist in the new site that can be referenced (so any links to old
> stuff in the syllabus would be carried over since nothing exist in the new
> site to point to)
>
> If you wanted the resources updated then you would choose syllabus and
> resources for your import.  Then any resources that are moved over will have
> their references updated in Syllabus
>
> -Bryan
>
>
> On Thu, Jul 28, 2011 at 11:12 AM, Matthew Buckett <
> matthew.buckett at oucs.ox.ac.uk> wrote:
>
>> On Thu, Jul 28, 2011 at 3:54 PM, Bryan Holladay <holladay at longsight.com>
>> wrote:
>> > 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.
>>
>> Ok, so if I choose to reuse content from another site, select the
>> Syllabus tool only then your code doesn't change anything, as the
>> resources tool isn't participating so the map doesn't include any
>> resources content?
>>
>> Does your patch deal with links to pages? Eg if I have a link in some
>> resources /portal/siteId/page/pageId will it get re-written to the new
>> page?
>>
>> What tools/services return content to the Map of things to replace?
>>
>> --
>>   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/e5fef2f2/attachment.html 


More information about the sakai-dev mailing list