Skip to content

Error unconverting Tsr #8

Description

@rwSTM

Hi Mark,
The UnConvertor for TSR records has a minor bug/error. Bits 3, 6 and 7 of the OPT_FLAG should be set to 1 in all cases. Currently, the UnConvertor determines this value based on the validity of the subsequent fields. There's no definition for a base value that is modified by the valid field mask.

This isn't really a big problem as nobody uses those extra bits with the current STDF standard However, technically, it is an error and it gets flagged when I do STDF integrity/compliance checks. I couldn't come up with an elegant solution for this - other than creating an explicit record convertor that didn't use attribute decoration.

I have another UnConvertor problem in that I have GDR records that actually contain padding bytes. As you know, the current GDR UnConvertor doesn't support padding bytes. Any suggestions as to the best way to solve that? I thought I'd ask before I hack something together as I know you are aware of the problem and may already have some ideas.

Regards
Rob

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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