You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Pharo 8 the #asArray method is missing. This brings a problem when the Catalog Browser is opened / refreshed because integer DNU #2388
So instead of writing:
v asArray
we need to write
(Arraywith: v)
The full fix is to change the #createRepositoryURLtoNameMappings method like this:
createRepositoryURLtoNameMappings
"Return a mapping between repositories URLs and their user names"<script:'self createRepositoryURLtoNameMappings inspect'>
|repos|
repos :=Dictionarynew.
3to:SystemVersion current major do: [:v |
repos
at: ('http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo{1}0/main'format: (Arraywith: v))
put: ('Pharo{1}.0'format: (Arraywith: v))].
repos at:'http://www.squeaksource.com/MetacelloRepository'put:'Unsorted'.
^repos
No time now for doing a proper PR from this laptop here.
The text was updated successfully, but these errors were encountered:
In Pharo 8 the #asArray method is missing. This brings a problem when the Catalog Browser is opened / refreshed because integer DNU #2388
So instead of writing:
we need to write
The full fix is to change the #createRepositoryURLtoNameMappings method like this:
No time now for doing a proper PR from this laptop here.
The text was updated successfully, but these errors were encountered: