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

bump xmldom to 0.6.0 to avoid bug where it keeps "<" in attributes #1974

Merged
merged 8 commits into from Aug 4, 2021

Conversation

MichaelBelousov
Copy link
Contributor

@MichaelBelousov MichaelBelousov commented Jul 30, 2021

see xmldom/xmldom#199 and xmldom/xmldom#198
Some known schemas use < and > in display labels, so this was breaking the imodel transformer which used xmldom@0.5.0
to serialize schemas during export to be imported into the target iModel.

@MichaelBelousov
Copy link
Contributor Author

MichaelBelousov commented Jul 30, 2021

adding a test where a schema with & and < in a display label is run through the transformer

@MichaelBelousov
Copy link
Contributor Author

@calebmshafer should this be backported?

@MichaelBelousov
Copy link
Contributor Author

MichaelBelousov commented Aug 2, 2021

@calebmshafer I'm getting flaky integration and standalone backend tests, could you take a look?
also extract-api worked once, I've done several variations of cleaning and rebuilding including rush purge --unsafe, I don't know why it thinks the API changed.

@calebmshafer
Copy link
Member

@skirby1996 is working on the extract-api issue. There's some combination of node version and something else causing a bunch of people issues.

The rush cover failures for the backend are on my plate and haven't figured it out yet.

The flaky integration tests, I have not looked into those yet so not quite sure.

@MichaelBelousov
Copy link
Contributor Author

@calebmshafer when we get past that stuff, can we also backport this fix to 2.19?

@MichaelBelousov MichaelBelousov enabled auto-merge (squash) August 4, 2021 16:52
@MichaelBelousov
Copy link
Contributor Author

@Mergifyio update

@mergify
Copy link
Contributor

mergify bot commented Aug 4, 2021

Command update: success

Branch has been successfully updated

@calebmshafer calebmshafer merged commit 97a229f into master Aug 4, 2021
@calebmshafer calebmshafer deleted the bump-xmldom branch August 4, 2021 18:12
@skirby1996
Copy link
Contributor

@Mergifyio backport release/2.19.x

mergify bot pushed a commit that referenced this pull request Aug 4, 2021
…1974)

* bump xmldom to 0.6.0 to avoid bug where it keeps "<" in attributes
see xmldom/xmldom#198

* add test which fails on version of 0.5.0 because of bad serialization
* add valid entity serialization test
* move serialization test down to serializer package instead of up at transformer level
* better test name not referencing round trip

Co-authored-by: Michael Belousov <MichaelBelousov@users.noreply.github.com>
(cherry picked from commit 97a229f)

# Conflicts:
#	common/config/rush/pnpm-lock.yaml
@mergify
Copy link
Contributor

mergify bot commented Aug 4, 2021

Command backport release/2.19.x: success

Backports have been created

skirby1996 pushed a commit that referenced this pull request Aug 4, 2021
…ackport #1974) (#1994)

* bump xmldom to 0.6.0 to avoid bug where it keeps "<" in attributes (#1974)

* bump xmldom to 0.6.0 to avoid bug where it keeps "<" in attributes
see xmldom/xmldom#198

* add test which fails on version of 0.5.0 because of bad serialization
* add valid entity serialization test
* move serialization test down to serializer package instead of up at transformer level
* better test name not referencing round trip

Co-authored-by: Michael Belousov <MichaelBelousov@users.noreply.github.com>
(cherry picked from commit 97a229f)

# Conflicts:
#	common/config/rush/pnpm-lock.yaml

* pushed merged pnpm-lock

Co-authored-by: Michael Belousov <mike.belousov@bentley.com>
Co-authored-by: Michael Belousov <MichaelBelousov@users.noreply.github.com>
khanaffan pushed a commit that referenced this pull request Aug 10, 2021
…1974)

* bump xmldom to 0.6.0 to avoid bug where it keeps "<" in attributes
see xmldom/xmldom#198

* add test which fails on version of 0.5.0 because of bad serialization
* add valid entity serialization test
* move serialization test down to serializer package instead of up at transformer level
* better test name not referencing round trip

Co-authored-by: Michael Belousov <MichaelBelousov@users.noreply.github.com>
khanaffan pushed a commit that referenced this pull request Aug 10, 2021
…1974)

* bump xmldom to 0.6.0 to avoid bug where it keeps "<" in attributes
see xmldom/xmldom#198

* add test which fails on version of 0.5.0 because of bad serialization
* add valid entity serialization test
* move serialization test down to serializer package instead of up at transformer level
* better test name not referencing round trip

Co-authored-by: Michael Belousov <MichaelBelousov@users.noreply.github.com>
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.

None yet

4 participants