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] Netex - Skip line without network #479

Merged
merged 2 commits into from
Nov 26, 2019

Conversation

ArnaudOggy
Copy link
Contributor

@ArnaudOggy ArnaudOggy commented Nov 25, 2019

Structure Line/RepresentedByGroupRef/@ref can not exist. It is not an obligatory field, and according to specifications the line should be skipped.

@woshilapin

This comment has been minimized.

let network_id: String = line
.try_only_child("RepresentedByGroupRef")?
.try_attribute("ref")?;
let network_id: String = skip_fail!(line

This comment was marked as outdated.

This comment was marked as outdated.

patochectp
patochectp previously approved these changes Nov 26, 2019
@ArnaudOggy

This comment has been minimized.

@datanel datanel added the wip label Nov 26, 2019
@mergify mergify bot dismissed patochectp’s stale review November 26, 2019 09:19

Pull request has been modified.

@ArnaudOggy ArnaudOggy removed the wip label Nov 26, 2019
@mergify mergify bot merged commit b012a33 into hove-io:master Nov 26, 2019
@ArnaudOggy ArnaudOggy deleted the netex-skip-line-without-network branch February 20, 2020 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants