Bug 724366 (BRMS-312) - Allow escaping characters in metadata value
Summary: Allow escaping characters in metadata value
Keywords:
Status: CLOSED NEXTRELEASE
Alias: BRMS-312
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: unspecified
Version: 5.0.1
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
: 5.1.0 GA,5.1.0.ER1
Assignee: Tihomir Surdilovic
QA Contact:
URL: http://jira.jboss.org/jira/browse/BRM...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-30 02:37 UTC by Tihomir Surdilovic
Modified: 2010-11-23 13:04 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-23 13:04:44 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker BRMS-312 0 Major Closed Allow escaping characters in metadata value 2016-05-31 13:56:29 UTC

Description Tihomir Surdilovic 2010-04-30 02:37:06 UTC
Help Desk Ticket Reference: https://enterprise.redhat.com/issue-tracker/820173
securitylevel_name: Public

Currently if you add the following metadata to a rule:

rule xyz
@text("it's an \"airplane")
.....
end

if you print the metadata with:

System.out.println(ksession.getKnowledgeBase().getRule("org.sample.myrules", "xyz").getMetaAttribute("text"));

the output is:

"it's an \"airplane"

escaped characters should be handled correctly here.

Comment 1 Tihomir Surdilovic 2010-04-30 02:37:51 UTC
Link: Added: This issue depends JBRULES-2494


Comment 2 Tihomir Surdilovic 2010-09-07 19:16:06 UTC
Resolved. Available in 5.1

Comment 3 Dana Mison 2010-10-27 03:05:54 UTC
Release Notes Text: Added: test


Comment 4 Dana Mison 2010-10-27 03:13:31 UTC
Release Notes Text: Removed: test 


Comment 5 David Le Sage 2010-11-01 00:50:00 UTC
Release Notes Docs Status: Added: Documented as Resolved Issue
Writer: Added: dlesage
Release Notes Text: Added: If escape characters appeared in quotation marks, they would erroneously be displayed when output, as were the quotation marks themselves.  Escaped characters within quotation marks are now displayed and printed correctly and the surrounding quotation marks are removed.


Comment 6 Lukáš Petrovický 2010-11-23 13:04:44 UTC
Verified fixed in BRMS 5.1.0 ER4


Note You need to log in before you can comment on or make changes to this bug.