-
1. Re: variable declaration and history support
swiderski.maciej Jun 9, 2010 10:20 AM (in response to aguizar)Good to hear you found some time to look into it
So what you're saying is that we shall expose createVariable methods instead of setVariable?
Would that mean that once variable is created (without history being enabled) it won't be possible to alter it?
-
2. Re: variable declaration and history support
aguizar Jun 9, 2010 11:46 AM (in response to swiderski.maciej)Good to hear you found some time to look into it
Quite the opposite, thanks for the patience
Would that mean that once variable is created (without history being enabled) it won't be possible to alter it?
Yes, it won't. However, what I wanted to point out with my extract from ScopeInstanceImpl.setVariable is that it ignores the historyEnabled parameter if the variable already exists. I do not know whether it makes sense to enable/disable history for an existing variable. In any case that would be a feature request that we can defer for the time being.
-
3. Re: variable declaration and history support
swiderski.maciej Jun 9, 2010 12:02 PM (in response to aguizar)Alejandro Guizar wrote:
Yes, it won't. However, what I wanted to point out with my extract from ScopeInstanceImpl.setVariable is that it ignores the historyEnabled parameter if the variable already exists. I do not know whether it makes sense to enable/disable history for an existing variable. In any case that would be a feature request that we can defer for the time being.
Fair enough, just wanted to make sure we are on the same page, so to say.
Agree that we could make further enhancement later on.
Will you make any other changes or shall I commit history stuff as well?
-
4. Re: variable declaration and history support
aguizar Jun 9, 2010 1:04 PM (in response to swiderski.maciej)Will you make any other changes or shall I commit history stuff as well?
Nope. Please go ahead.
-
5. Re: variable declaration and history support
swiderski.maciej Jun 9, 2010 1:43 PM (in response to aguizar)Code committed. I added a comment to jira but did not resolve the issue.