Project

General

Profile

Bug #4276

RExpression temp files can collide

Added by Oliver Soong almost 10 years ago. Updated over 9 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.

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

History

#1 Updated by ben leinfelder over 9 years ago

about to submit the fix that oliver provided.

#2 Updated by ben leinfelder over 9 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

#3 Updated by ben leinfelder over 9 years ago

included in r21133 now

#4 Updated by Redmine Admin about 6 years ago

Original Bugzilla ID was 4276

Also available in: Atom PDF