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

[IMPROVEMENT] Enable package version check to make use of '11.0.x' syntax #4123

Open
stefanhaerter opened this issue Feb 7, 2025 · 2 comments
Labels
technical improvement Technical stuff, not user visible
Milestone

Comments

@stefanhaerter
Copy link
Contributor

Currently, e.g.

<PackageRequired Version="11.0.x">ITSMConfigurationManagement</PackageRequired>

technically works, but throws the error message:

Argument "x" isn't numeric in numeric ge (>=) at /opt/otobo/bin/psgi-bin/../../Kernel/System/Package.pm line 3792.

It would be nice to catch this and officially allow this syntax.

@stefanhaerter stefanhaerter added the technical improvement Technical stuff, not user visible label Feb 7, 2025
@stefanhaerter stefanhaerter added this to the OTOBO 11.0 milestone Feb 7, 2025
@bschmalhofer
Copy link
Contributor

An alternative would be to prohibit the 11.0.x syntax and write the version check as 11.0.

@stefanhaerter
Copy link
Contributor Author

stefanhaerter commented Feb 7, 2025

Excellent idea, I like it. If we go this way, I would at least want to check if we can include other tags like

<Framework>11.0.x</Framework>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
technical improvement Technical stuff, not user visible
Projects
None yet
Development

No branches or pull requests

2 participants