Project

General

Profile

Actions

Bug #4549

open

String Replace actor "remembers" previous execution values

Added by Oliver Soong about 15 years ago. Updated almost 15 years ago.

Status:
In Progress
Priority:
Normal
Category:
actors
Target version:
Start date:
11/13/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4549

Description

1. Build a workflow with an SDF director (set iterations to 1), an RExpression (turn off graphics output), and a Display actor. Hook the RExpression graphicsFileName port to the Display input port.
2. Run this workflow. There should be no noticeable output, as no token was passed to the Display actor. An Rplots.pdf file should have been generated in the appropriate subfolder of .kepler.
3. Add a String Replace actor. Hook the RExpression graphicsFileName port to the String Replace stringToEdit port, and hook the String Replace output port to the Display input port.
4. Run this workflow. Notice now that a Display actor window opens. A blank token of some sort was passed to the Display actor (I it's a "" string token). Again, another Rplots.pdf file should have been generated.
5. Turn on graphics output in the RExpression and run the workflow. The expected RExpression-1.png file should have been generated, and the Display actor should open and display the filename. Pay attention to the timestamp on the folder.
6. Turn off graphics output in the RExpression and run the workflow. The Display actor should open again and display the png filename from the previous execution. If you browse the .kepler, you should see the correct folder with the expected Rplots.pdf file.

Actions

Also available in: Atom PDF