Ah.�� OK. Thanks.�� Unfortunately I am working on a P9 image.�� I will have to go through the chore of transferring my work to P10 I guess.
Regards
R
From: Russ Whaley <whaley.russ@gmail.com>
Reply to: Any question about pharo is welcome <pharo-users@lists.pharo.org>
Date: Saturday, 5 March 2022 at 12:49
To: Any question about pharo is welcome <pharo-users@lists.pharo.org>
Subject: [Pharo-users] Re: SpDropListPresenter emptyList
I had this same issue and reported in v9. It appears to be fixed in v10 and from what I understand there will be no ���back-port���.
Russ
On Sat, Mar 5, 2022 at 7:24 AM Robert Briggs via Pharo-users <pharo-users@lists.pharo.org> wrote:
I think this might be a bug.
When I send emptyList to a non-empty SpDropListPresenter it reports ���SubscriptOutOfBounds: 1���.
I seems to be due to emptyList setting the list model to a new empty OrderedCollection and a later method trying to access the first item in the collection.
Attached screen shot shows the debugger window.
If it is a bug please report it and if possible advise a workaround.
If not a bug please advise the correct way to clear or change the contents of a drop list.
Many thanks
Robert
--
Russ Whaley
whaley.russ@gmail.com