Project

General

Profile

Bug #2896

StringConstant actor will not accept strings with '$'

Added by Dan Higgins about 12 years ago. Updated about 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
actors
Target version:
Start date:
07/23/2007
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2896

Description

Try entering a string like 'foo$bar' in the StringConstant actor. It will give an error trying to evaluate 'bar' as a parameter. It looks like it is evaluating the string using Ptolemy's expression language.

I think this is because Kepler's StringActor is NOT the same as the Ptolemy StringActor. It has been modified to allow the string to be set to a filename and I think this causes an evaluation of the string. This may be useful for setting filenames, but it causes problems with some strings.

History

#1 Updated by Dan Higgins about 12 years ago

Revised to use the standard 'StringConstant' from Ptolemy and documentation updated to note that '$$' can be used to insert a single dollar sign in the text.

#2 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 2896

Also available in: Atom PDF