Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-10661

Undefined method uncompress_body can occur for some rest responses

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 7.0.0
    • Component/s: None
    • Labels:
    • Template:
    • Team:
      Coremunity
    • Sprint:
      Platform Core KANBAN
    • Release Notes:
      Not Needed
    • Release Notes Summary:
      This issue was introduced and fixed in the main branch, so it was only included in nightly puppet7 builds and never a released artifact.
    • QA Risk Assessment:
      Needs Assessment

      Description

      Commit ca36093089d90da1659e0bba1e0e3d76a1ab1c04 removed explicit response body decompression, but missed two lines. As a result, if a rest request returns a response whose content-type header is missing or is not P/JSON, then it will fail with an error that the uncompress_body method is undefined.

      That commit was never released and will be fixed before puppet 7 is released.

        Attachments

          Activity

            People

            Assignee:
            josh Josh Cooper
            Reporter:
            josh Josh Cooper
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support