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: DIA-1123: Config with empty string value breaks parser #212

Merged
merged 6 commits into from
May 14, 2024

Conversation

hakan458
Copy link
Contributor

@hakan458 hakan458 commented May 14, 2024

When instantiating a LabelInterface object with a config that included a Label tag with empty string value, the parser would break
E.g.

<View>
  <Text name="text" value="$text"/>
  <Labels name="type" toName="text">
    <Label value="" />
    <Label value="" />
  </Labels>
</View>

We allow empty string as a value in validation it seems, but parser didnt handle it

@hakan458 hakan458 merged commit c477e93 into master May 14, 2024
5 checks passed
@hakan458 hakan458 deleted the fb-dia-1123 branch May 14, 2024 20:49
robot-ci-heartex added a commit to HumanSignal/label-studio that referenced this pull request May 14, 2024
Hi @hakan458!

This PR was
[created](https://github.com/HumanSignal/label-studio/actions/runs/9085855934)
in a response to PRs in upstream repos:
- HumanSignal/label-studio-sdk#212

---------

Co-authored-by: hakan458 <hakan@heartex.com>
Co-authored-by: Hakan Erol <47988814+hakan458@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants