[Archivesspace_Users_Group] reordering objects in resource records

Lora Davis ljdavis at colgate.edu
Fri Nov 14 15:43:19 EST 2014


Yes, just to reiterate what Allyson, Elliot, and Teresa have shared - this
happens at random but does not seem to be directly correlated (at least for
us) to actually dragging/dropping/moving components.  A case in point: I've
been going through and adding access restriction notes to various
components within existing administrative collections.  Last week I clicked
on several existing components in a resource record, added conditions
governing access notes to those components, saved the changes, and went
about the rest of my day.  The following day I pulled up the resource to
answer a reference question and, lo and behold, it appeared as if someone
had dipped a giant wooden spoon into the cauldron that was the collection
and stirred all the components about in an infuriatingly nonsensical way to
make component soup of our previously well-ordered resource record.

Payten - Thanks for sharing this code, but just to confirm, have you tested
this fix against the scenario I describe (editing but not moving a
component)?  I just want clarification since the description for your patch
("Patch for drag and drop causing record to lose position/parent") does not
align with the primary problem we are encountering.  Again, thanks for your
hard work.

Chris - Do we have a timeline for this release?  We are seeing many
benefits to our transition to ArchivesSpace, but this problem has been a
constant thorn in our sides since we first reported it in June.  We had
hoped that 1.1.0 would resolve this issue (as we'd been told it would), but
we remain anxious for the day when we can rest assured that ArchivesSpace
gnomes won't enter our resources at night and scramble them all about.

Best,

Lora Davis

On Wed, Nov 12, 2014 at 8:40 AM, Chris Fitzpatrick <
Chris.Fitzpatrick at lyrasis.org> wrote:

>  Ah, awesome Payten.
>
> I couldn't get this to replicate and was thinking it was something in the
> backend.
>
>
>  Will apply this and include it in the next release.
>
> Thanks!
>
> b,chris.
>
>
>   Chris Fitzpatrick | Developer, ArchivesSpace
> Skype: chrisfitzpat  | Phone: 918.236.6048
> http://archivesspace.org/
>    ------------------------------
> *From:* Payten Giles <payten.giles at gmail.com>
> *Sent:* Wednesday, November 12, 2014 5:44 AM
> *To:* Chris Fitzpatrick; Archivesspace Users Group
>
> *Subject:* Re: [Archivesspace_Users_Group] reordering objects in resource
> records
>
>  Hi there Chris, Allyson,
>
>  Eavesdropping a little bit and the guilt of writing this code became too
> much!
>
>  Chris, this looks like a little bug in the tree.js where we aren’t
> checking the correct node.. the comment says the right thing while the code
> does the wrong thing.  Here’s a gist of a potential patch:
>
>  https://gist.github.com/payten/649819e7f08d0de3e945
>
>  To replicate I have a Resource hierarchy something like this:
>
>  - Resource
> - AO Parent
> - AO Child 1
> - AO Child 2
> - AO Child 3
> - AO Child 4
>
>  I select and go to edit ‘AO Child 3’.  When that form is visible I drag
> ‘AO Child 4’ above to become the first sibling.  I then continue to edit
> ‘AO Child 3’ and refresh the page.  ‘A0 Child 3’ is now positioned directly
> under ‘Resource’.
>
>  Happy to put together a more formal pull request if you like.
>
>  Cheers,
> Payten
>
>  On 11 Nov 2014, at 12:53 am, Chris Fitzpatrick <
> Chris.Fitzpatrick at lyrasis.org> wrote:
>
>  Hi Allyson,
>
>  Unfortuantely, I haven't been able to replicate the problem of component
> movements not sticking. See =>
>
> https://drive.google.com/file/d/0BzRF7huQ7tqKS29oM2RZZWNubGc/view?usp=sharing
>  )
>
>  In edit mode, I'm able to drag and drop components, reload the page, or
> go to the view page.
>
>  Is this happening for every record every time for you? Or is it an
> infrequent thing?
>
>  Not doubting you ( I promise! ) , just trying to see when this is
> happening...
>
>  b,chris.
>
>   Chris Fitzpatrick | Developer, ArchivesSpace
> Skype: chrisfitzpat  | Phone: 918.236.6048
> http://archivesspace.org/
>   ------------------------------
> *From:* archivesspace_users_group-bounces at lyralists.lyrasis.org <
> archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of
> Allyson Smally <asmally at colgate.edu>
> *Sent:* Friday, November 07, 2014 6:04 PM
> *To:* Archivesspace Users Group
> *Subject:* Re: [Archivesspace_Users_Group] reordering objects in resource
> records
>
>     Hello all -
>
>  Unfortunately, after upgrading to the newest release, we are still having
> this problem.
>  Archival objects are reordering themselves after being edited.
>
>  Is anyone else still having this problem? Does anyone know of a solution?
>
>  Thanks very much,
>  Allyson
>
> Allyson E. Smally
> Processing Archivist
> Colgate University Libraries
> 13 Oak Drive
> Hamilton, NY 13346
> (315) 228-7867
>
> On Thu, Sep 25, 2014 at 8:14 AM, Ben Goldman <bmg17 at psu.edu> wrote:
>
>>  Hi Chris,
>>
>>  Archival object tree.
>>
>>  Thanks!
>> -Ben
>>
>>  ------------------------------
>>  *From: *"Chris Fitzpatrick" <Chris.Fitzpatrick at lyrasis.org>
>> *To: *"Archivesspace Users Group" <
>> archivesspace_users_group at lyralists.lyrasis.org>
>> *Sent: *Thursday, September 25, 2014 3:46:10 AM
>>
>> *Subject: *Re: [Archivesspace_Users_Group] reordering
>> objects        in        resource        records
>>
>>  Hey Ben,
>>
>>  Soon, I promise!
>>
>>  But just to check, are you talking about reording the archival object
>> tree for the resource or the order of things like notes and subjects?
>>
>>  b,chris.
>>
>>   Chris Fitzpatrick | Developer, ArchivesSpace
>> Skype: chrisfitzpat  | Phone: 918.236.6048
>> http://archivesspace.org/
>>   ------------------------------
>> *From:* archivesspace_users_group-bounces at lyralists.lyrasis.org <
>> archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of
>> Ben Goldman <bmg17 at psu.edu>
>> *Sent:* Tuesday, September 23, 2014 10:19 PM
>> *To:* Archivesspace Users Group
>> *Subject:* Re: [Archivesspace_Users_Group] reordering objects in
>> resource records
>>
>>   Thanks, Allyson. I knew it sounded familiar!
>>
>>  Do we have an ETA on the next release yet? :)
>>
>>  -Ben
>>
>>  ------------------------------
>>  *From: *"Allyson Smally" <asmally at colgate.edu>
>> *To: *"Archivesspace Users Group" <
>> archivesspace_users_group at lyralists.lyrasis.org>
>> *Sent: *Tuesday, September 23, 2014 4:15:04 PM
>> *Subject: *Re: [Archivesspace_Users_Group] reordering objects in
>> resource        records
>>
>>   Hi Ben,
>>
>>  Yes, from what I understand this is a known issue. It has been
>> happening to us a lot as well.
>>  At SAA this August, I was told it would be fixed in the next release.
>>
>>  -Allyson
>>
>> Allyson E. Smally
>> Processing Archivist
>> Colgate University Libraries
>> 13 Oak Drive
>> Hamilton, NY 13346
>> (315) 228-7867
>>
>>  On Tue, Sep 23, 2014 at 2:52 PM, Ben Goldman <bmg17 at psu.edu> wrote:
>>
>>>  Hello,
>>>
>>>  I've just experienced an issue and on a cursory search can't tell if
>>> it's been noted in PivotalTracker yet or discussed here yet.
>>>
>>>  I've been editing an inventory object-by-object in a resource record,
>>> saving each object as I updated it. In one instance I reordered one of the
>>> objects by dragging it further down the tree, then continued editing other
>>> objects. Then I reached an object that could be removed, clicked to delete
>>> it,  the resource reloaded in View mode, and the objects appeared to
>>> shuffle, and not seemingly in the order I started with.
>>>
>>>  -Ben
>>>
>>>  Ben Goldman
>>> Digital Records Archivist
>>> Penn State University Libraries
>>> University Park, PA
>>> 814-863-8333
>>> http://www.libraries.psu.edu/psul/speccolls.html
>>>
>>>
>>>
>>  --
>  Allyson E. Smally
> Processing Archivist
> Colgate University Libraries
> 13 Oak Drive
> Hamilton, NY 13346
> (315) 228-7867
>     _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
>
>
>
> _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
>
>


-- 
Lora J. Davis
Assistant Archivist
Colgate University Libraries
13 Oak Drive
Hamilton, NY 13346
Tel:  (315) 228-6376
Fax: (315) 228-7934
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20141114/2711fa29/attachment.html>


More information about the Archivesspace_Users_Group mailing list