[Building Sakai] transferCopyEntitiesRefMigrator - how does it work ??
Charles Hedrick
hedrick at rutgers.edu
Tue Nov 22 07:29:14 PST 2011
Ah, I hadn't seen that. Looks like 2.8.1 and 2.9. It's going to be a challenge to use the new interface while still letting the code work with 2.7 and 2.8.
On Nov 22, 2011, at 10:13 AM, Bryan Holladay wrote:
> This is already committed into kernel: KNL-782 and SAK-16568. If LB
> wants to use it, you'd probably just want to implement "public void
> updateEntityReferences(String toContext, Map<String,String>
> transversalMap)" since it will send you all the updated references.
>
> -Bryan
>
> On Tue, Nov 22, 2011 at 10:09 AM, Charles Hedrick <hedrick at rutgers.edu> wrote:
>> Is there any hope of getting this in the kernel? THis is an issue for lesson builder. I can't assume that sites have installed kernel patches.
>>
>> On Nov 18, 2011, at 3:50 PM, George Pipkin wrote:
>>
>>> Hi -
>>>
>>> I have been playing around with the SAK-16568 patches that allow the
>>> Import from Site feature
>>> to change links from an old site to entities contained in a new site,
>>> particularly as it relates
>>> to links contained within a syllabus. I have patched this int
>>> sakai_2-7-x, and overall the thing
>>> works, except for links to samigo entities. So I am trying to
>>> understand how it works where it
>>> does work, and I focused on forums links which are also /direct links.
>>> I have traced the program execution
>>> through a method called transferCopyEntitiesRefMigrator, which was added
>>> to SyllabusServiceImpl.java
>>> by the SAK-16568 patches. I looked at the URL for this link, and for
>>> the life of me I can't
>>> see where it is being changed, but somehow it is. All through this
>>> method, the link is:
>>>
>>> href="/direct/forum_topic/109?p=1"
>>>
>>> yet somehow when it is all done, the link in the new syllabus is:
>>>
>>> http://localhost:8080/direct/forum_topic/114?p=1
>>>
>>> I would love it is somebody could explain to me where and how this
>>> miracle takes place, since I would like to conjure up a similar
>>> miracle for samigo.
>>>
>>> - George Pipkin
>>> U.Va.
>>> _______________________________________________
>>> sakai-dev mailing list
>>> sakai-dev at collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>>
>>> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>>
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>>
More information about the sakai-dev
mailing list