Bug 840650
Summary: | Upload of package content to repository fails due to .PackageDetailsValidationException: The version part of '[sha256=<sha256 hash>]' isn't an OSGi version string. | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Larry O'Leary <loleary> |
Component: | Content | Assignee: | Nobody <nobody> |
Status: | ON_QA --- | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 4.4 | CC: | hrupp, jshaughn |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | 840649 | Environment: | |
Last Closed: | Type: | Bug | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 796381, 840649, 852145 |
Description
Larry O'Leary
2012-07-16 19:50:25 UTC
*** Bug 794768 has been marked as a duplicate of this bug. *** From #RHQ (10:45:09 AM) krumer: There is a workaround, I can upload CLI scripts as "Alpha Content 0" and I can still include them, but they don't show up as CLI scripts > From #RHQ > > (10:45:09 AM) krumer: There is a workaround, I can upload CLI scripts as > "Alpha Content 0" and I can still include them, but they don't show up as > CLI scripts Note that the script uploaded as such cannot be directly used as a CLI script, because the UI won't list it.(In reply to comment #2) The only way to upload a CLI Script usable as an alert notification is to use the CLI Script alert notification dialog to perform the upload. What krumer offers as a workaround really isn't. Files uploaded as other file types can be used by other techniques such as the require function available in other scripts. Thus, if you already have a cli script, you can include another script into it using "require('rhq://repositories/blah/other-script.js')" and you can upload the "other-script.js" into the "blah" repository as "Alpha Content 0" and it will still be usable in your script. But your CLI script still has to be uploaded from the "CLI Script" alert notification creation page. It is not possible to upload a file of type "Server-side CLI Script" from the Administration->Repositories page. in master (RHQ 4.9.0-SNAPSHOT) commit 3502050af25d2a11f4fc2c7aaf1ea8b64436e266 Author: Lukas Krejci <lkrejci> Date: Fri Jun 28 15:39:51 2013 +0200 [BZ 840649] Accomodate for package type plugins when determining pkg version This is mostly a hack to get us going again on the JSF repository detail page. I don't want to invest into some more elaborate and complete solution because content subsystem is a minefield we're hopefully replacing soon(ish). |