Share

MIMS Framework

Tracker: Bugs

5 Slashes in FileParameterType Values - ID: 891252
Last Update: Comment added ( stevenhoward )

I have a FileParameterType and a value for that is

AQ_${str("PPM to ug/m3 Factor")}.txt

However, when I enter the parameter in MIMS converts
the backward slash to a forward slash. When I try to
run it, MIMS fails since it does not recognize the
parameter value anymore.


Prashant Pai ( prashantpai ) - 2004-02-05 19:13

5

Closed

None

Steven Howard

None

None

Public


Comments ( 3 )




Date: 2004-02-17 15:44
Sender: stevenhoward

Logged In: YES
user_id=225681

bug fixed


Date: 2004-02-11 16:34
Sender: stevenhoward

Logged In: YES
user_id=225681

For file parameter types, the parameter values contain Files,
so the getValueAsText method returns file.getName() String.

The java's File class is what changes the slashes. If I
change the File parameter value to contain a String, then the
value would not be backward compatible.

We may want to restrict parameter names characters.




Date: 2004-02-05 22:53
Sender: sfineProject Admin

Logged In: YES
user_id=106829

Perhaps we shouldn't convert slashes that are in single or
double quotes. What do you think, Steve H.?


Log in to comment.

Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
status_id Open 2004-02-17 15:44 stevenhoward
close_date - 2004-02-17 15:44 stevenhoward
assigned_to nobody 2004-02-05 22:53 sfine