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

Allow empty parens in a string to be safely parsed #112

Merged
merged 1 commit into from
Oct 5, 2022

Conversation

bibliotechy
Copy link
Contributor

This change allows an empty set of parens, (), to be in a string and to be parsed as a token. Prior to this change, and empty set of parens would be parsed as a list with no contents which could not be successfully parsed, but instead results in a error as described in #101.

This change fixes issue #101.

@bibliotechy
Copy link
Contributor Author

Failures are related to wrong node version (which I have fixed in this PR) and what look like changes in upstream Blacklight handling of facet constraints rendering. Going to try to come back to that issue later

@bibliotechy
Copy link
Contributor Author

bibliotechy commented Sep 23, 2020

Blocked by fixes included in #113

This change allows an empty set of parens, `()`, to be in a string and to be parsed as a token. Prior to this change, and empty set of parens would be parsed as a list with no contents which could not be successfully parsed, but instead results in a error as described in projectblacklight#101.

This change fixes issue projectblacklight#101.
@bibliotechy
Copy link
Contributor Author

Rebased on top of fixes introduced in #113, so this is now good to go.

@dkinzer
Copy link
Member

dkinzer commented Oct 5, 2022

I think I should have rebased this first before merging it. I'm going to revert and then create a new PR with a rebased version because it looks like there are some issues with the HEAD of the main branch.

@dkinzer
Copy link
Member

dkinzer commented Oct 5, 2022

Hey @bibliotechy sorry for the mess up here. I was recently given commit access to this repo and I though I would merge this PR but I messed up and didn't rebase it before hand. It failed on the main branch so I quickly reverted main back to it's original state. I recreated your PR here at #122 and I have rebased it.

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

Successfully merging this pull request may close these issues.

2 participants