Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Box info cannot process file without metadata #1419

Open
Marian-Kechlibar opened this issue Sep 30, 2024 · 2 comments
Open

Box info cannot process file without metadata #1419

Marian-Kechlibar opened this issue Sep 30, 2024 · 2 comments
Labels

Comments

@Marian-Kechlibar
Copy link

Marian-Kechlibar commented Sep 30, 2024

When I produce a new PHAR file using Box 4.6.2, it no longer contains any Metadata, as those are deprecated since Box 4.6.

But the info --list command cannot cope with that. It immediately puts out a red error concerning the very first file in the PHAR, saying that no metadata was found for that file. I am attaching a screenshot from the command line
box-metadata-list

Question Answer
Box version 4.6.2@29c3585
PHP version 8.2.12
Platform with version Windows
@theofidry
Copy link
Member

Hm that doesn't look good but I'm a bit surprised by this error... Could you provide a reproducer?

@theofidry theofidry added the bug label Oct 2, 2024
@Marian-Kechlibar
Copy link
Author

So this is a very basic project which demonstrates the problem.

Run

box compile --config box-web-project.json

to create the file web-project/web-project.phar

Run

box --list info web-project/web-project.phar

to trigger the error.

web-project.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants