[Building Sakai] Resources going missing after move

Adrian Fish adrian.r.fish at gmail.com
Mon Sep 24 05:39:29 PDT 2012


On line 1739 in DBContentService, the ids are the wrong way around. In the
trunk version they're correct. Swap them around and all is well ...

Cheers,
Adrian.

On 24 September 2012 12:42, Steve Swinsburg <steve.swinsburg at gmail.com>wrote:

> Could be something to do with:
> https://jira.sakaiproject.org/browse/KNL-817
>
> That does a db update as below…
>
> cheers,
> Steve
>
>
> On 24/09/2012, at 9:19 PM, Adrian Fish <adrian.r.fish at gmail.com> wrote:
>
> CONTENT_RESOURCE_BODY_BINARY is not getting updated with the new resource
> path so the binary body becomes inaccessible.
>
> If you issue a query like ...
>
> update content_resource_body_binary set RESOURCE_ID =
> '/user/7b1f67e6-cd05-42a6-8024-833f28effd6d/MBF_Applications_accepts_030712_report.xls'
> where resource_id =
> '/user/7b1f67e6-cd05-42a6-8024-833f28effd6d/ertytre/MBF_Applications_accepts_030712_report.xls';
>
> ... it fixes it. Maybe part of the code wasn't merged back?
>
> Cheers,
> Adrian.
>
> On 24 September 2012 10:39, Adrian Fish <adrian.r.fish at gmail.com> wrote:
>
>> It is fine in trunk though ...
>>
>>
>> On 24 September 2012 10:31, Adrian Fish <adrian.r.fish at gmail.com> wrote:
>>
>>> It's still broken on nightly :(
>>>
>>> http://nightly2.sakaiproject.org:8087
>>>
>>> .. which was built today.
>>>
>>> If you move a file then click on it the file is empty; in the case of
>>> PDFs it just crashes the acrobat plugin in Safari.
>>>
>>> Maybe it's a different problem?
>>>
>>> Cheers,
>>> Adrian.
>>>
>>>
>>> On 24 September 2012 09:26, Adrian Fish <adrian.r.fish at gmail.com> wrote:
>>>
>>>> That'll be the one. Cheers :)
>>>>
>>>>
>>>> On 23 September 2012 23:42, Sam Ottenhoff <ottenhoff at longsight.com>wrote:
>>>>
>>>>> Sounds like this fixed blocker:
>>>>>
>>>>>   https://jira.sakaiproject.org/browse/KNL-955
>>>>>
>>>>> Merged into kernel 1.3.x on Aug 30. It will be part of our next
>>>>> release (release process starting Monday, done by Wednesday).
>>>>>
>>>>> --Sam
>>>>>
>>>>> On Sun, Sep 23, 2012 at 5:51 PM, Adrian Fish <adrian.r.fish at gmail.com>wrote:
>>>>>
>>>>>> Has anybody seen this behaviour in 2.9.x?
>>>>>>
>>>>>> Upload a file to Resources and then click it. It downloads correctly.
>>>>>> Move the file to another folder. Click it and you get a 404.
>>>>>>
>>>>>> Could somebody please give it try?
>>>>>>
>>>>>> Cheers,
>>>>>> Adrian.
>>>>>>
>>>>>> _______________________________________________
>>>>>> 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"
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120924/952adbba/attachment.html 


More information about the sakai-dev mailing list