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

RobotParser: handle empty arguments tags #31

Merged
merged 2 commits into from Sep 30, 2020
Merged

RobotParser: handle empty arguments tags #31

merged 2 commits into from Sep 30, 2020

Conversation

dece
Copy link
Contributor

@dece dece commented Apr 29, 2020

Old versions of RF, e.g. Robot 2.8.5 (Python 2.7.9 on linux2), can produce an output file with empty "arguments" tags, i.e. no arg child. Parsing such file would break as ignoreUntilStarts would throw an exception due to not finding the arg starting tag.

This fix replace usage of ignoreUntilStarts to a more manual parsing to handle this case.

Old versions of RF, e.g. Robot 2.8.5 (Python 2.7.9 on linux2), can
produce an output file with empty "arguments" tags, i.e. no arg child.
Parsing such file would break as ignoreUntilStarts would throw an
exception due to not finding the arg starting tag.

This fix replace usage of ignoreUntilStarts to a more manual parsing
to handle this case.
@dece dece closed this Apr 29, 2020
@dece dece reopened this Apr 29, 2020
@JoaoPPCastelo
Copy link

Hi!
Any update on this? I'm having the same issue but with robot 3.1.2, python 3.8 and Robot Framework plugin 2.1.1 :(

@asimell asimell added the bug label Sep 29, 2020
@asimell
Copy link
Contributor

asimell commented Sep 29, 2020

Hi @dece The unit tests seem to fail https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Frobot-plugin/detail/PR-31/1/pipeline/#step-31-log-314, care to take a look?

EDIT: Nevermind, I already took care of that.

@dece
Copy link
Contributor Author

dece commented Sep 29, 2020

Hi! Thank you for the edit.

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