New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

`NoSuchElementException` on second `fr-send-submission` #3568

Closed
avernet opened this Issue Apr 23, 2018 · 2 comments

Comments

Projects
2 participants
@avernet
Collaborator

avernet commented Apr 23, 2018

The exception happens in the 2017.1.1 data migration code. Also see the log from which this exception is extracted in the thread linked below.

+1 from customer

@ebruchez

This comment has been minimized.

Collaborator

ebruchez commented Apr 27, 2018

The migration code doesn't seem to have fundamentally changed since 2017.1.1.

@ebruchez

This comment has been minimized.

Collaborator

ebruchez commented Apr 30, 2018

The line causing the issue is:

frAttributes.foreach (delete(_, doDispatch = false))

And we have a comment saying "Attributes OTOH can be deleted in document order just fine", might not be true in fact: there is an underlying Stream, and it comes down to AttributeEnumeration, which iterates over our DOM's attributes. If attributes are removed, the iterator can fail.

@ebruchez ebruchez closed this in 5cb54a7 Apr 30, 2018

@ebruchez ebruchez added this to Done in Orbeon Forms 2018.1 via automation Apr 30, 2018

@ebruchez ebruchez added this to Done in Orbeon Forms 2017.2.2 via automation Apr 30, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment