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

Plugin version must be a double #1

Open
cyberm8 opened this issue Oct 1, 2024 · 0 comments
Open

Plugin version must be a double #1

cyberm8 opened this issue Oct 1, 2024 · 0 comments

Comments

@cyberm8
Copy link

cyberm8 commented Oct 1, 2024

The version field of the extensions table is a double.

https://github.com/OCSInventory-NG/OCSInventory-ocsreports/blob/f0f4e8839f7394955f5fbddf29503b6b170151d9/files/ocsbase_new.sql#L1101

If the version specified in infos.json looks like "1.0.0", the plugin installation will fail, with a success message, suggesting it worked.
Actually the plugin will be partially installed : install.php will be executed, data may arrive from agents, but the new section in GUI won't be displayed.

I think the documentation should be updated, or the plugin installer should be more robust.

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

No branches or pull requests

1 participant