» home
» bugs
» git

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000048 [litestep core] core major always 2008-05-12 18:30 2009-03-05 14:41
Reporter jugg View Status public  
Assigned To
Priority none Resolution open  
Status confirmed   Product Version CVS-trunk
Summary 0000048: LSGetVariable() does not return value set by LSSetVariable()
Description When calling LSSetVariable with an unquoted value containing whitespace, subsequently calling LSGetVariable only returns the first "word" of the value.
Additional Information The solution will likely affect many modules and configurations. This needs to be handled with care.
Tags No tags attached.
Attached Files

- Relationships
related to 0000049confirmed expansion of $e-var$ does not expand to the full value of the e-var 
related to 0000051closed GetRCLine() incorrectly returns parsed value 
child of 0000092feedback LiteStep 0.26.0 - Release 

-  Notes
jugg (manager)
2008-08-20 11:23

Another aspect to this issue is that $evars$ are expanded... they should not be. We need a complete "raw" access API set to our configuration data. Right now, LSGetVariable is no different than GetRCString(). And if we only fix the quote issue, it will be no different then GetRCLine(). LSGetVariable() should not expand $evars$ or touch the value in anyway. What comes out of LSGetVariable() should be identical to what goes into LSSetVariable(). Example:

char tmp[128];
LSSetVariable("myvar1", "Hello World");
LSSetVariable("myvar2", "$myvar1$");
LSGetVariable("myvar2", tmp);

tmp should contain literally: $myvar1$

With the current broken implementation, it would only contain: Hello

That is pointless/worthless.

- Issue History
Date Modified Username Field Change
2008-05-12 18:30 jugg New Issue
2008-05-12 19:10 jugg Relationship added related to 0000049
2008-05-14 23:18 jugg Status @10@ => confirmed
2008-05-17 16:07 jugg Relationship added related to 0000051
2008-08-18 10:47 jugg Relationship added child of 0000042
2008-08-20 11:23 jugg Note Added: 0000150
2009-03-05 14:41 ilmcuts Relationship deleted child of 0000042
2009-03-05 14:41 ilmcuts Relationship added child of 0000092

Copyright © 2000 - 2009 Mantis Group
Powered by Mantis Bugtracker