» home
» bugs
» git

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000049 [litestep core] core major always 2008-05-12 18:41 2009-03-05 14:41
Reporter jugg View Status public  
Assigned To
Priority none Resolution open  
Status confirmed   Product Version CVS-trunk
Summary 0000049: expansion of $e-var$ does not expand to the full value of the e-var
Description When calling VarExpansionEx(), the result does not contain the entire value of the variable as it was defined.
Additional Information This needs to be handled with care as any change will likely affect/break many existing modules and configurations.
Tags No tags attached.
Attached Files

- Relationships
related to 0000048confirmed LSGetVariable() does not return value set by LSSetVariable() 
child of 0000092feedback LiteStep 0.26.0 - Release 

-  Notes
jugg (manager)
2009-01-29 13:32

Hopefully a better example as to why this is an issue:

For a module using GetRCColor("ModuleBGColor", defClr);

This is valid step.rc syntax:
ModuleBGColor 255 128 128

But this is invalid step.rc syntax:
ModuleBGColor "255 128 128"

Yet with the current implementation this is required:
ThemeBGColor "255 128 128"
ModuleBGColor $ThemeBGColor$

Which just isn't very consistent. So to summarize, an $evar$ just should *not* be forced to be a quoted string value.

Any ugly hack, which I don't like nor want to implement, but which does provide a way around this without breaking compatibility:

ThemeBGColor 255 128 128
ModuleBGColor $rcLine(ThemeBGColor)$

Which could perform a raw substitution, rather than a string substitution. rcLine() can be renamed to something better(?), perhaps: directive()

- Issue History
Date Modified Username Field Change
2008-05-12 18:41 jugg New Issue
2008-05-12 19:10 jugg Relationship added related to 0000048
2008-05-14 23:19 jugg Status @10@ => confirmed
2008-08-18 10:48 jugg Relationship added child of 0000042
2009-01-29 13:32 jugg Note Added: 0000210
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