I have reviewed the code carefully and I understand the problem and how this change fixes it. However, I have not actually tested this, either to reproduce the original problem, nor that this code change fixes it. I'm hoping that @emudojo may be able to run those tests? If successful, then we can merge this.
This PR is to incorporate a patch from Diego to fix this issue: https://github.com/Islandora-Collaboration-Group/islandora_webform/issues/50
I have reviewed the code carefully and I understand the problem and how this change fixes it. However, I have not actually tested this, either to reproduce the original problem, nor that this code change fixes it. I'm hoping that @emudojo may be able to run those tests? If successful, then we can merge this.