From: Jim K. <ji...@ji...> - 2003-11-14 05:22:01
|
Hello All, Philippe submitted the bug shown in the attached email. It is a problem with variantconfig that effects control names with EOL characters in = their names. Philippe suggests a fix by converting EOL characters to a space. = I think this is a good fix. This will cause the names to appear as a = single line in the INI file. The only possible problem is that there could be = a name collision with a control that has the same name. However, LabVIEW = also allows controls with the same name so this problem already exists. = Hmmm, sounds like we need some error handling... any thoughts? What = preconditions should we be testing for? - No two controls can have the same names tested after converting all illegal names to legitimate names (like converting EOLs in control names = to spaces.) Any others? -Jim -----Original Message----- From: SourceForge.net [mailto:no...@so...]=20 Sent: Thursday, November 13, 2003 5:25 PM To: no...@so... Subject: [ opengtoolkit-Bugs-841864 ] If a control name is on 2 line, = read panel from INI will fai Bugs item #841864, was opened at 2003-11-13 17:25 Message generated for change (Tracker Item Submitted) made by Item = Submitter You can respond by visiting:=20 https://sourceforge.net/tracker/?func=3Ddetail&atid=3D466832&aid=3D841864= &group_id =3D52435 Category: lib_variantconfig Group: LabVIEW 7.0 (All) Status: Open Resolution: None Priority: 5 Submitted By: philippe guerit (pjm_design) Assigned to: Jim Kring (jkring) Summary: If a control name is on 2 line, read panel from INI will fai Initial Comment: If a control name is on 2 line such as "my control name" read panel from INI will fail because the controls was saved as two different keys on two different lines Possible Fix: when saving key name, scan string for end of line or line feed or carriage return and replace it by a space. The same thing is required when getting the name of the control from the variant ---------------------------------------------------------------------- You can respond by visiting:=20 https://sourceforge.net/tracker/?func=3Ddetail&atid=3D466832&aid=3D841864= &group_id =3D52435 |