[jbosstools-issues] [JBoss JIRA] (JBIDE-18093) Special character "®" in manifest.yml --> Description leads to errors when accessing OSE from JBDS

Brenton Leanhardt (JIRA) issues at jboss.org
Mon Aug 25 09:51:59 EDT 2014


    [ https://issues.jboss.org/browse/JBIDE-18093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995456#comment-12995456 ] 

Brenton Leanhardt commented on JBIDE-18093:
-------------------------------------------

An approach I tend to do is use for reproducing bugs is to edit the mock cartridge:
https://github.com/openshift/origin-server/tree/master/cartridges/openshift-origin-cartridge-mock

You could add that cartridge to /usr/libexec/openshift/cartridges/ and then run the following commands:

On the Node:
service ruby193-mcollective restart

On the Broker:
oo-admin-ctl-cartridge -c import-node --activate --obsolete

If your environment already had the mock cartridge you could just make the manifest.yml changes and update the cartridge-version.  Technically you could do that with any manifest.yml under /usr/libexec/openshift/cartridges/.

> Special character "®" in manifest.yml --> Description leads to errors when accessing OSE from JBDS
> --------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-18093
>                 URL: https://issues.jboss.org/browse/JBIDE-18093
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: openshift
>            Reporter: Max Rydahl Andersen
>            Assignee: Andre Dietisheim
>             Fix For: 4.2.0.CR1
>
>
> Description of problem:
> I have developed a custom cartridge for OSE and placed the special character "®" (registered trademark) in the description field within my "manifest.yml". The cartridge could be installed correctly via WebUI and was also working fine from a technical point of view.
> However, when trying to access the OSE instance from JBDS via the Openshift Explorer plugin, I always got the following error:
> Invalid value for input string: "00ae"
> The string "00ae" is the unicode representation of my special character. After removing everything worked fine again. The OpenShift Explorer was completely unusable in this scenario! So only one installed cartridge with this special character can poison a whole installation and affect ALL users!!!
> Version-Release number of selected component (if applicable):
> OSE 2.2 (Developer Image)
> How reproducible:
> Yes.
> Steps to Reproduce:
> 1. Create a custom cartridge and add a "®" to the description field of your manifest.yml.
> 2. Install the cartridge according to doc.
> 3. Start JBDS and try to work with your OSE instance via the OpenShift Explorer plugin (e.g. try to add an application)
> Actual results:
> Expected results:
> Additional info:



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)



More information about the jbosstools-issues mailing list