Skip to content
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

Fix 3.1.0 upgrade problems, restore and enhance serialization prefs #335

Merged
merged 7 commits into from Nov 23, 2021

Conversation

joewiz
Copy link
Member

@joewiz joewiz commented Jul 19, 2021

Fixes issues introduced in the eXide 3.1.0 release by #328.

Adds fine-grained serialization preferences:

Screen Shot 2021-11-21 at 4 37 10 PM

Closes #333 and #334.

@joewiz
Copy link
Member Author

joewiz commented Jul 19, 2021

@wolfgangmm Thanks for your help on today's Community Call! I tried integrating your suggestions—in ced6868. But, as my comment in preferences.js line 40 states, the addition of eXide.app.version() raised this error in the console:

Uncaught TypeError: Cannot read property 'version' of undefined

This is strange, because the same expression can be found elsewhere in preferences.js. Do you have any suggestions for dynamically registering the version?

@joewiz
Copy link
Member Author

joewiz commented Oct 14, 2021

Note that once #374 is merged, the feature commit in #328 will need to be re-added to this branch so that work on the fix started here can proceed.

Copy link
Member

@wolfgangmm wolfgangmm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my inline comment.

src/preferences.js Outdated Show resolved Hide resolved
joewiz added a commit to joewiz/eXide that referenced this pull request Nov 13, 2021
@joewiz joewiz force-pushed the fix-3.1.0-upgrade branch 5 times, most recently from 6a6a577 to 23db910 Compare November 14, 2021 18:52
index.html.tmpl Outdated Show resolved Hide resolved
@joewiz joewiz marked this pull request as ready for review November 21, 2021 21:34
@joewiz joewiz changed the title Fix 3.1.0 upgrade Fix 3.1.0 upgrade problems, restore and enhance serialization prefs Nov 21, 2021
This endpoint is called in various scenarios, and they don't all involve downloading xars. When the ?info endpoint is called (e.g., deployment.xql?info=%2Fdb%2Fapps%2Fdoc), eXide 3.1.0 would raise a 400 error, because, since this request has nothing to do with serialization, indent and expand-xincludes parameters are not supplied. The values chosen for the defaults here - indent=no and expand-xincludes=no - simply match that of the pre-eXide 3.1.0 defaults.
@wolfgangmm wolfgangmm merged commit 05b2630 into eXist-db:develop Nov 23, 2021
@joewiz joewiz deleted the fix-3.1.0-upgrade branch November 23, 2021 19:01
@joewiz
Copy link
Member Author

joewiz commented Nov 23, 2021

@wolfgangmm Many thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Restore dbutil module, formerly supplied by shared-resources
2 participants