decorators-squad/eo-yaml

Incorrect reading of a sequence of folded block scalars

pollyvolk opened this issue · 9 comments

I read the following YAML file (simplified for visibility) using Yaml.createYamlInput(file).readYamlMapping():

list:
  - >
    one
    two
  - >
    three
    four
  - >
    five
    six
    seven

But the result of the parsing is:

list:
    - >
  one
  two
  three
  four
  five
  six
  seven
    - >
  three
  four
  five
  six
  seven
    - >
  five
  six
  seven

@pollyvolk thank you for reporting this. I'll assign someone to take care of it soon.

@amihaiemil I couldn't find any assignee for this task. This is either because there are no contributors with role DEV available or because the project does not have enough funds.

Please, make sure there is at least one available contributor with the required role and the project can afford to pay them.

@pollyvolk same here, could you provide a PR with a failing unit test please?

@amihaiemil this is your task now, please go ahead. Deadline (when this ticket should be closed) is 2022-12-17T21:00:13.227639.

Estimation here is 60 minutes, that's how much you will be paid.

Remember, you don't have to solve everything in this ticket - you can solve it partially and leave todo markers in the code, which will become future tasks.

If you have any questions don't ask me, I'm not a technical person. Open new tickets instead.

If you don't have time or simply don't want to work on this, you can always resign.

@amihaiemil Don't forget to close this ticket before the deadline (2022-12-17T21:00:13). You are past the first half of the allowed period.

@amihaiemil Looks like you've missed the task deadline (2022-12-17T21:00:13). You are now resigned from this task.

Please stop working on it, you will not be paid. I will assign it to someone else soon.

@amihaiemil this is your task now, please go ahead. Deadline (when this ticket should be closed) is 2023-02-16T19:00:15.208573.

Estimation here is 60 minutes, that's how much you will be paid.

Remember, you don't have to solve everything in this ticket - you can solve it partially and leave todo markers in the code, which will become future tasks.

If you have any questions don't ask me, I'm not a technical person. Open new tickets instead.

If you don't have time or simply don't want to work on this, you can always resign.

@pollyvolk This is now fixed with 7.0.4. Sorry about the long wait.

@amihaiemil thank you for resolving this ticket. I've just added it to your active invoice. You can always check all your invoices and more on the Contributor Dashboard.