Project

General

Profile

Actions

Bug #4276

closed

RExpression temp files can collide

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

Status:
Resolved
Priority:
Normal
Category:
actors
Target version:
Start date:
07/28/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4276

Description

There is an as of yet unsubmitted patch that should fix collisions with symbols in record names that are invalid in file names. Specifically, the patch addresses the cases where:
1. 2 ports have names that differ by reserved symbols
2. both ports cannot be converted to native tokens and so are saved to disk and
passed as file names

The problem arises because the committed code converts almost all non-alphanumeric characters to underscores (_) to create valid file names, creating potential collisions. There is some code to avoid this, but it is implemented before files generated by the firing actor ports are processed. In other words, the existing code can only avoid collisions with ports belonging to different actors and not similarly named ports on a single actor.


Files

RExpression patch test cases.xml (54.8 KB) RExpression patch test cases.xml ben leinfelder, 10/21/2009 08:53 AM
Actions #1

Updated by ben leinfelder about 15 years ago

about to submit the fix that oliver provided.

Actions #2

Updated by ben leinfelder about 15 years ago

i had to add an extra display actor so that type checking did not fail on the second run of the workflow, but that's the only change i've made to oliver's workflow

Actions #3

Updated by ben leinfelder about 15 years ago

included in r21133 now

Actions #4

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 4276

Actions

Also available in: Atom PDF