Data entity paths are null when reading zip files with subfolders
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
Research direction
Start in ReadZipStrategy, specifically the readContent path used for zip input, and trace where the temporary extraction folder is returned versus where ro-crate-metadata.json is resolved inside the subfolder. Compare that return value with the folder containing the metadata file, since callers currently get the root temp folder. Done means data entity path values are populated relative to the resolved crate folder; run the zip-reading tests if present.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Java
- Stars
- 5
- Forks
- 4
- Avg merge
- 11h 14m
- Merged PRs (30d)
- 4
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from kit-data-manager/ro-crate-java
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 75/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Support Jackson 3May be free again @Pfeil claimed this 68 days ago, and no pull request is open. Openmaintenance
kit-data-manager/ro-crate-java#349 · 4 comments · 1 assignee ·
-
Adapt codemeta.jsonMay be free again @Pfeil claimed this 129 days ago, and no pull request is open. Openmaintenance
kit-data-manager/ro-crate-java#342 · 1 assignee ·
-
Dependency DashboardOpen
Difficulty 4/5 3-5 days Newbie friendliness 20/100
All issues in kit-data-manager/ro-crate-java
Similar issues
-
[Bug] 资源包列表 与 模组/数据包/世界 列表排列顺序不一致Possibly taken @fishdry1000 claimed this 4 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
AtlasOfLivingAustralia/species-lists#882 ·
Maintainers usually reply within 1 day
-
Type/Bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
ballerina-platform/ballerina-library#9458 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
winder/Universal-G-Code-Sender#3242 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
PCL-Community/PCL-CE#3767 ·
Maintainers usually reply within 1 day