Skip to content

Bug: if last field is empty sting you get "null" and odd number of hash elements in split #7

Description

@marcelser

Hi,

When that last field in your json configuration is empty string when the pattern is rendered, you get warning message about "odd number of hash elements" because the split function silently omits the last value if it's empty. You can pass "-1" as additional parameter to the split function, to instruct it not to omit last value if it's empy.

This behaviour also results in the value beeing "null" instead of an empty string in the json output. Please fix accordingly.

Best regards,

Marc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions