Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-1867

Guess format fallback is broken

    XMLWordPrintable

    Details

      Description

      The guess format fallback in File._load_check is currently broken by design.

      Yes, it allows loading some files. But the original File object still stays the same, and it also results in two file objects confusing the pending files counter.

      The correct way to handle this would be to remove the currently loaded file and inject the file again with the new File implementation into the loading queue.

        Attachments

          Activity

            People

            Assignee:
            outsidecontext Philipp Wolfer
            Reporter:
            outsidecontext Philipp Wolfer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package
                2.4.0b2