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

Validating an empty ZIP with Arelle does not create an error #888

Open
bytelooper opened this issue Oct 4, 2023 · 0 comments
Open

Validating an empty ZIP with Arelle does not create an error #888

bytelooper opened this issue Oct 4, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@bytelooper
Copy link

bytelooper commented Oct 4, 2023

What happened?

Dear Arelle team and users,

When trying to validate an empty ZIP, Arelle does not create an error.
With the CLI, nothing gets logged to the console. Using the websever, you get the following JSON back:

{
 "log": []
}

I spent some time in the debugger, there appears to be a missing if check for when no entrypoints were found by the method method def filesourceEntrypointFiles.

Thank you very much!

Documents

No response

If running from the command line, what command did you run?

python arelleCmdLine.py -v -f "C:\PATH\TO\EMPTY.ZIP"

Interface

CLI (arelleCmdLine)

Version

2.11.3

Download

From source (git checkout)

Operating System

Windows 10

@bytelooper bytelooper added the bug Something isn't working label Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Triage
Development

No branches or pull requests

1 participant