Project

General

Profile

Bug #3915

The error dialogue won't go away.

Added by jianwu jianwu almost 10 years ago. Updated almost 10 years ago.

Status:
New
Priority:
Immediate
Assignee:
Category:
general
Target version:
Start date:
03/23/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
3915

Description

Workflow: There are two composite actors, one called CompositeActor1 on the top level, another called CompositeActor2, in CompositeActor1. There are two String Parameters: one called p1 on the top level, another called p2 with value '$p1/l', in CompositeActor1. p2 is used in actors in CompositeActor1, such as expression, file open.

Steps:
1) Open the whole workflow,
2) Open CompositeActor1,
3) Open CompositeActor2,
4) Close CompositeActor2,
5) Delete CompositeActor2,
6) Change the value of p1.

There will be an error saying that: "Error evaluating expression: $p1/l in .CompositeActor2.p2 Because The ID p1 is undefined."

There is no way to close the error except closing Kepler by force, which will lost all unsaved modification.

I found the bug with Kepler version 16865 and ptolemy version 52661, but I think this bug is always there.

I attached the workflow and error dialogue.

parameter exception.xml (15.5 KB) parameter exception.xml jianwu jianwu, 03/23/2009 05:12 PM
parameter Exception.bmp (271 KB) parameter Exception.bmp jianwu jianwu, 03/23/2009 05:13 PM
expressionException4.xml (3.69 KB) expressionException4.xml Christopher Brooks, 03/25/2009 08:53 PM

History

#3 Updated by Christopher Brooks almost 10 years ago

Attached is a Ptolemy model that illustrates the bug.
I believe the problem only occurs when the inner most Variable
is in string mode.

#4 Updated by Redmine Admin almost 6 years ago

Original Bugzilla ID was 3915

Also available in: Atom PDF