<div dir="ltr">I don't know whether it has to do with my previous solution. But now I'm getting a 'Input is conflicting with concurrent modification' validation error, when there is no concurrent use (it is just me using the app).<div>
<br>The model I'm editing has only two attributes: #time and #store, and I'm not changing #store, even if I don't change anything I get the same error.</div><div><br></div><div>Any clues?</div></div><div class="gmail_extra">
<br clear="all"><div>Esteban A. Maringolo</div>
<br><br><div class="gmail_quote">2013/9/30 Esteban A. Maringolo <span dir="ltr"><<a href="mailto:emaringolo@gmail.com" target="_blank">emaringolo@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Answering myself...</div><div><br></div>Maybe not an elegant solution (nor a scalable one) but I found I can use the dynamic variable scoping to access the current session.<div><br></div><div>I changed my description to use:</div>
<div><br></div><div><div class="im"><div>descriptionStore</div><div><span style="white-space:pre-wrap">        </span><magritteDescription></div><div><br></div><div><span style="white-space:pre-wrap">        </span>^MASingleOptionDescription new</div>
<div><span style="white-space:pre-wrap">                </span>label: 'Store';</div><div><span style="white-space:pre-wrap">                </span>accessor: #store;</div><div><span style="white-space:pre-wrap">                </span>beRequired;</div>
</div><div><span style="white-space:pre-wrap">                </span>options: self currentSession allStores;</div><div><span style="white-space:pre-wrap">                </span>yourself</div></div><div><br></div><div><br></div><div>#currentSession</div>
<div> ^WACurrentRequestContext value session<br></div><div><br></div><div><br></div><div>It still smells bad, for some reason DynamicVariable's seems "hacky" to me. </div><div><br></div><div>Maybe they're more clever than what I'm used to.<br>
</div><div><br></div><div>Regards,</div><div><br></div><div><br></div><div>Esteban.</div><div><br></div></div>
</blockquote></div><br></div>