Skip to content

Error handling and missing bundleControls #393

@Denny-g6labs

Description

@Denny-g6labs

Scenario:

  1. I create an ICL file using the API and the JSON structure, where bundleControl is missing
  2. That call works
  3. I call /content to get the raw (X9) file
  4. That call works as well
  5. I use that raw file to create another ICL file using the API
  6. That call crashes with a certain error message

Issues:

  1. It seems like bundleControl is required when using X9 files, but when using a JSON structure during the API call, it works
  2. The error message is misleading (parsing file: line:7 record:ImageViewData *imagecashletter.FileError LineNumber unexpected EOF or parsing file: line:18 record:ImageViewData *imagecashletter.FileError RecordLength Must be at least 80 characters and found 0)

Unfortunately I can't attach a sample file. However, it's pretty simple to reproduce:

  1. Take an ICL JSON file
  2. Parse it to get the raw file
  3. Parse the raw, works
  4. Use the ICL JSON file but remove bundleControl (The whole key from the structure, dot not only use {})
  5. Parse it to get the raw file
  6. Parse the raw, error

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions