Skip to content

Data entity paths are null when reading zip files with subfolders #385

Open

Description

@MarcelKonrad

When reading a ro-crate from a zip file, and the contents inside the zip file are located in a subfolder, the path field of data entities is always null. This is because ReadZipStrategy#readContent and ReadZipStrategy#readContent always return the root temporary folder and not the resolved folder of the ro-crate-metadata.json.

Activity

  1. Pfeil commented on Nov 10, 2026

    @Pfeil
    Member

    Thank you for reporting. This sounds like an issue with ELN-Style crates (as the zip file has a subfolder). I'll confirm (and hopefully fix) this next week (a PR is of course always welcome ;) ). Just in case: With which version did you encounter this issue?

  2. added
    bug
    on Nov 10, 2026
  3. MarcelKonrad commented on Nov 10, 2026

    @MarcelKonrad
    Author

    With which version did you encounter this issue?

    2.1.2

  4. linked a pull request that will close this issueFix 385 no entity paths for eln crates #396on Nov 19, 2026
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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions