<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>I didn't observe any of those anomalies with announcements</div><div><br></div><div><div><a href="http://about.me/sebastianconcept">sebastian</a></div><div><br></div><div>o/</div></div><div><br></div>PD: maybe is because I use AXAnnouncements<div><br></div><div><br></div><div><br><div><div>On Sep 8, 2011, at 4:19 PM, Esteban Lorenzano wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi, <br>(yep, I'm copying tree lists because I think is a vm problem, but can be a seaside problem, or a pharo problem)<br>(yes, it can be MY problem too... but I don't think so... ;) <br><br>I'm having this really, really strange problem (because it was working before, and I do not change anything... so, maybe a change in latest changes on pharo 1.3, the version I'm using, is the cause)... <br>This is the problem: <br><br>I'm creating an application who sends an announcement, to edit something... this announcement ends in a WAComponent&gt;&gt;#call: message... <br><br>The problem is: continuation execution fires a notification (WARenderNotification), and SubscriptionRegistry&gt;&gt;deliver:to: process the announcement this way: <br><br>deliver: anAnnouncement to: subs<br><span class="Apple-tab-span" style="white-space:pre">        </span><br><span class="Apple-tab-span" style="white-space:pre">        </span>subs do: <br><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>[:each | <br><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>[each deliver: anAnnouncement] <br><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>"each is always in subs, so error will be due to each being last element.<br><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>So return, nothing more to process"<br><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>ifCurtailed: [self deliver: anAnnouncement to: ([subs after: each] on: NotFound do: [^self])]]<br><br>...and curtailedBlock is being executed... and that throws an error. <br>This was working on older versions of VM, so maybe this is a recent change?<br><br>this error was confirmed in my builds, and also in latest Eliot build. Also... is confirmed NOT being there in older cogs or interpret<br><br><br>and btw... <br><br>self deliver: anAnnouncement to: ([subs after: each] on: NotFound do: [^self])<br><br>shouldn't be<br><br>self deliver: anAnnouncement to: ([Array with: (subs after: each)] on: NotFound do: [^self])<br><br>(because #deliver:to: is expecting a collection, not a registry?<br><br>thanks,<br>Esteban_______________________________________________<br>seaside mailing list<br><a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div></div></span></span><br class="Apple-interchange-newline">
</div>
<br></div></body></html>