Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-34463

The script queue showSchema writes a bytes array as a string

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Won't Fix
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Story Points:
      1
    • Team:
      Telescope and Site
    • Urgent?:
      No

      Description

      This bug showed up when trying the Kafka version of salobj. The showConfig commands should encode the configSchema field as a string instead of passing the bare bytes array returned by the subprocess. Consider using .decode("latin-1", "replace"), like the SAL log handler, to work around DDS's poor handling of utf-8.

        Attachments

          Activity

          Hide
          rowen Russell Owen added a comment -

          This presumably works because it uses automatic casting. Let that continue. If we find cases that the automatic casting cannot handle then revisit this.

          Show
          rowen Russell Owen added a comment - This presumably works because it uses automatic casting. Let that continue. If we find cases that the automatic casting cannot handle then revisit this.

            People

            Assignee:
            rowen Russell Owen
            Reporter:
            rowen Russell Owen
            Watchers:
            Russell Owen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins

                No builds found.