Skip to content

Unknown package format when reimporting a package with same name as previously imported #4798

@riesaau

Description

@riesaau

Chamilo 1.11.20

If I import a scorm package into a learning path, then I delete it, then i import it again one or two times more. Eventually it will no longer import, giving the above message "unknown package format"

Steps to reproduce the behavior:

  1. Under learning paths (for my course), go to the middle icon which is to import a scorm pacakge, and browse to zip file on my computer of published scorm package
  2. Import the zip
  3. delete the module using the red X
  4. Import it again and delete it (may have to repeat these steps one more time)
  5. Attempt to import the zip again
  6. Get the error message "unknown package format"
  7. Change the name of the zip on my computer
  8. Reimport it again
  9. Imports successfully

Expected behavior
I expected I should be able to import the course as many times as I want after I delete it, without needing to change the name of the zip file I'm importing.

Screenshots

Screenshot_2023-07-09_at_00_29_23

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions