<div dir="ltr">I don&#39;t know whether it has to do with my previous solution. But now I&#39;m getting a &#39;Input is conflicting with concurrent modification&#39;  validation error, when there is no concurrent use (it is just me using the app).<div>

<br>The model I&#39;m editing has only two attributes: #time and #store, and I&#39;m not changing #store, even if I don&#39;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">&lt;<a href="mailto:emaringolo@gmail.com" target="_blank">emaringolo@gmail.com</a>&gt;</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>&lt;magritteDescription&gt;</div><div><br></div><div><span style="white-space:pre-wrap">        </span>^MASingleOptionDescription new</div>


<div><span style="white-space:pre-wrap">                </span>label: &#39;Store&#39;;</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&#39;s seems &quot;hacky&quot; to me. </div><div><br></div><div>Maybe they&#39;re more clever than what I&#39;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>