Skip to content
This repository has been archived by the owner on Aug 31, 2020. It is now read-only.

Bug in memory requirements parsing #112

Open
stlaz opened this issue Dec 7, 2017 · 1 comment
Open

Bug in memory requirements parsing #112

stlaz opened this issue Dec 7, 2017 · 1 comment
Assignees
Labels

Comments

@stlaz
Copy link

stlaz commented Dec 7, 2017

When specifying memory requirements for a recipe, these are parsed incorrectly when there's a missing space in between the operator and the requirement.

Example:
Memory: >2000

is represented in the xml as:
<memory op="&gt;2000" value=""/>
rather than
<memory op="&gt;" value="2000"/>

@Pajinek
Copy link
Contributor

Pajinek commented Dec 7, 2017

It is used method split(). String has to contain white space before number "> 2000" as you wrote. It should be clever. I agree. I try to find better solution.

@Pajinek Pajinek added the bug label Dec 7, 2017
@Pajinek Pajinek self-assigned this Dec 7, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants