Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336882 - Steretype values are encoded incorrectly
Summary: Steretype values are encoded incorrectly
Status: VERIFIED FIXED
Alias: None
Product: Tigerstripe
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 0.5M0   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-10 17:54 EST by Navid Mehregani CLA
Modified: 2011-03-17 12:21 EDT (History)
1 user (show)

See Also:


Attachments
336882 patch (2.24 KB, patch)
2011-03-09 08:49 EST, Anton Salnik CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Navid Mehregani CLA 2011-02-10 17:54:22 EST
Build Identifier: 

Stereotype values seem to get encoded based on XML encoding

Reproducible: Always

Steps to Reproduce:
1. Create a new profile 
  1a. Create a stereotype in the profile that accepts a string attribute
2. Activate the profile
3. Create a new Managed Entity
4. Add the newly created stereotype and add the following for its value:
   a1 + a2 & > < " ' testing...
5. Save the Entity 
6. Select the stereotype and click on Edit, notice the value has changed to the following:
  a1 + a2 &amp;amp; > < &amp;quot; &amp;apos; testing...

Stereotype values shouldn't get encoded.  Retrieving the value in generators shouldn't encode the value either.
Comment 1 Anton Salnik CLA 2011-03-09 08:49:27 EST
Created attachment 190753 [details]
336882 patch
Comment 2 Yuri Strot CLA 2011-03-14 06:58:22 EDT
Anton's patch applied.
Comment 3 Navid Mehregani CLA 2011-03-17 12:21:15 EDT
Verified. Thanks!