<div dir="ltr"><div dir="ltr"><div>After updating our ASpace instance to 2.5.0, we've started to see odd behavior when exporting PDFs.  Components will occasionally export in the wrong order in the PDF; for example, a recent collection exported with:</div><div><br></div><div>Series I</div><div>-- Subseries III</div><div>---- [...subseries I components...]</div><div>-- Subseries I</div><div>---- [...subseries II components...]</div><div>-- Subseries II</div><div>--- [...subseries III components...]</div><div><br></div><div>Strangely, while the subseries components are out of order, their children are in the correct location/order!<br></div><div><br></div><div>This error has been intermittent; regenerating the PDF immediately resolves the issue.  Unfortunately, this means that it has not been possible to reproduce the problem.  Checking the logs, I did not see anything indicating an error in EAD or PDF generation from ASpace.  I don't believe that the issue is in the EAD-to-PDF stylesheet, so I'm concerned that our EAD records may be generating with components in the wrong place in the finding aid.<br></div><div><br></div><div>Has anyone else encountered issues like this?  My suspicion is that <a href="https://github.com/archivesspace/archivesspace/blob/master/backend/app/exporters/models/ead.rb#L38">https://github.com/archivesspace/archivesspace/blob/master/backend/app/exporters/models/ead.rb#L38</a> may be surfacing fleeting discrepancies between our search index and database, but it's difficult to tell, given how intermittent the issue is.</div><div><br></div><div>Thanks,</div><div>--Alex<br></div><div><br></div><div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Alexander Duryee<div>Metadata Archivist</div><div>New York Public Library</div><div>(917)-229-9590</div><div><a href="mailto:alexanderduryee@nypl.org" target="_blank">alexanderduryee@nypl.org</a></div></div></div></div></div></div></div></div>