-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Allow forms with parse errors to be downloaded, show errors at form open time #6428
Merged
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
7695411
Added failing tests
grzesiek2010 29e6b84
Reoworked the FormMetadataParser to use simple form parsing
grzesiek2010 c2f9a0f
Use the new form parser
grzesiek2010 6afec6e
Removed redundant tests
grzesiek2010 5ac242d
Moved testing FormMetadataParser to FormMetadataParserTest
grzesiek2010 b1b4d34
Converted FormMetadataParserTest to kotlin and simplified it
grzesiek2010 7aa2427
Removed redundant test
grzesiek2010 7aa4a86
Added clear error message for unrecognized entity version
grzesiek2010 a132e07
Improved tests
grzesiek2010 c8f6a5f
Removed redundant code
grzesiek2010 cbecde6
Fixed broken form test
grzesiek2010 a3155cb
Fixed parsisng forms with comments
grzesiek2010 2cbdd45
Moved form parsing to its own package
grzesiek2010 454d0d5
Improved the error message
grzesiek2010 5d3aaff
Improved error dialog title
grzesiek2010 3d65c6f
Improved reading geometry xpaths
grzesiek2010 126896e
Reworked tests
grzesiek2010 f49862e
Naming improvements
grzesiek2010 df9d70e
Simplified readMetadata_canParseFormsWithComments test
grzesiek2010 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not really redundant, right? It's more that there was some accidental interaction between between media files and metadata parsing that isn't there anymore and so doesn't need to be tested?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that at one point, the order was important, and media files were considered during form parsing. However, this didn’t work as intended, as the parser ignored the media files (on current master). See my other comment: #6428 (comment)
So all in all we don't need it anymore.