This is a nasty one. It may lead to lost code, without warning or
notification. Applies to latest 2.0 and 3.0:
1. In Nautilus, in any class outside Announcements-Core, add protocol
'*announcements-core-subcategory'
2. Open MCWrokingCopyBrowser. You will see that Announcements-Core is dirty
3. Click the "Changes" button

It will say that there are no changes, and the package will be unmarked as
dirty. This is because 'announcements-core-subcategory' was created as a
separate RPackage and stole the extension method.

For 3.0,
https://pharo.fogbugz.com/f/cases/10887/Compound-Extension-Methods-Unpackaged

> Fix in inbox:
> SLICE-Issue-10887-Compound-Extension-Methods-Unpackaged-SeanDeNigris.1
>  
> Case 10887: Compound Extension Methods Unpackaged
>  
> * Fix RPackageOrganizer>>checkPackageExistsOrRegister:, which is sent when
> a class organization changes, to see if extension methods have been added
> * Add test which fails before fix and passes after

For 2.0,
https://pharo.fogbugz.com/f/cases/10888/Backport-2-0-Compound-Extension-Methods-Unpackaged

> Fix in inbox:
> SLICE-Issue-10888-Backport-20-Compound-Extension-Methods-Unpackaged-SeanDeNigris.1





-----
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/BUG-Extension-Methods-Missing-from-Packages-tp4692842.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.

Reply via email to