[JON] Failed to create package in repository due to "The version part of '[sha256=<sha256 hash>]' isn't an OSGi version string"

Solution Unverified - Updated -

Issue

  • Can not import CLI script to created repository
  • Try to upload .js to repository results in the following exception:

    Failed to create package [mypackage.js] in repository. Cause: javax.ejb.EJBException:org.rhq.enterprise.server.plugin.pc.content.PackageDetailsValidationException: The version part of '[sha256=4e6fac41c12242f199a9aa82eab29e40b827e688da1f2210838545783137a5da]' isn't an OSGi version string.
    
  • Unable to add new package to repository due to OSGi version string error

Environment

  • JBoss Operations Network (JON) 3.1
  • Creation of package content in JON repository (Administration > Content / Repositories > <Repository>)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content