Relax Lexeme deserialization to not fail with $nextFormId = 1

Authored by thiemowmde on Oct 12 2017, 7:49 AM.

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.


Relax Lexeme deserialization to not fail with $nextFormId = 1

With the default set to 1 this was guaranteed to fail. See
for an example why this is relevant. We might make this more strict
later, but for now we figured it helps to relax this.

Also, if the nextFormId field is not given, but forms are given, why
should the code always fail in such a situation?

Bug: T164742
Change-Id: If2e4afe80a977ef5cdbbe4e68f329ef7191a3e62