[squeak-dev] Squeak 6.0 alpha-20601 browsing revisions fails because of wrong class of requestor

Marcel Taeumel marcel.taeumel at hpi.de
Mon Aug 23 07:57:58 UTC 2021


Hi Tim,

I suspect some auto-magic(ally generated) stuff behind ServiceAction that makes 'browse revisions' fail in your image. It works fine in mine. Which method did you try to browse revisions for?

Best,
Marcel
Am 21.08.2021 20:07:58 schrieb tim Rowledge <tim at rowledge.org>:
After updating to 20601 I just poked around a little to see how things are and the Browser->method->'browse revisions' failed because the requestor used in ServiceAction>>#execute was a simple Requestor and not a BrowserRequestor (which would have allowed BrowserRequestor>>#browseMcMethodRevisions to do the right thing, I hope).

The interesting thing when debugging is that the ServiceAction involved seems to have BrowserRequestor as its 'requestor' instance variable.

A second attempt appears to work, so an initial guess is that something about finding the focusedRequestor has a loophole. I have no idea how the services stuff works or is intended to be used so I'll just leave it in the hope somebody else has ideas about this

tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Useful random insult:- Couldn't pour water out of a boot with instructions on the heel.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20210823/3ed50824/attachment.html>


More information about the Squeak-dev mailing list