Issue 6647 in pharo: Auto creation of Monticello packages (by RPackage ?)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 6647 in pharo: Auto creation of Monticello packages (by RPackage ?)

pharo
Status: New
Owner: ----
Labels: Type-Bug Milestone-2.0

New issue 6647 by [hidden email]: Auto creation of Monticello  
packages (by RPackage ?)
http://code.google.com/p/pharo/issues/detail?id=6647

 From a 2.0 20277 one-click image
Create a package named At-Test in Monticello
  -- No such package in Nautilus
Create a class in Nautilus with category At-Test
  -- Now the package appear in Nautilus
Add a protocol for extension in any class, for example PointArray (*At-Test)
Create a method in this protocol:
> mytest

And, tada ! The At package appear in Monticello.




_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 6647 in pharo: Auto creation of Monticello packages (by RPackage ?)

pharo

Comment #1 on issue 6647 by [hidden email]: Auto creation of  
Monticello packages (by RPackage ?)
http://code.google.com/p/pharo/issues/detail?id=6647

It get worse.

Unloading the At Package provoques a "System error handling failed".  
KeyNotFound: key #Atest not found in SystemDictionary.


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 6647 in pharo: Auto creation of Monticello packages (by RPackage ?)

pharo

Comment #2 on issue 6647 by [hidden email]: Auto creation of  
Monticello packages (by RPackage ?)
http://code.google.com/p/pharo/issues/detail?id=6647

Ok, found it.

Culprit is MCPackageManager class>>managersForCategory;do:

But the MCPackageManager class registry is empty ??


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 6647 in pharo: Auto creation of Monticello packages (by RPackage ?)

pharo

Comment #3 on issue 6647 by [hidden email]: Auto creation of  
Monticello packages (by RPackage ?)
http://code.google.com/p/pharo/issues/detail?id=6647

Solved: do

MCPackageManager initialize

to unregister it from system events.


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 6647 in pharo: Auto creation of Monticello packages (by RPackage ?)

pharo

Comment #4 on issue 6647 by [hidden email]: Auto creation of  
Monticello packages (by RPackage ?)
http://code.google.com/p/pharo/issues/detail?id=6647

But the bug is still there (in a less obvious fashion)

- Create a protocol *At2-Test
- Create a method mytest2 in protocol *At2-Test
- Monticello shows a At2 package.
- Inspect RpackageOrganizer packages
-- Both RPackage(At2-Test) and RPackage(At2) exists.


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 6647 in pharo: Auto creation of Monticello packages (by RPackage ?)

pharo

Comment #5 on issue 6647 by [hidden email]: Auto creation of  
Monticello packages (by RPackage ?)
http://code.google.com/p/pharo/issues/detail?id=6647

Ok, a possible solution: in Monticello, create the package name as is to be  
in sync with how RPackage and Nautilus see packages.

SLICE-Issue-6647-Auto-creation-of-Monticello-packages-by-RPackage--TG.1

Attachments:
         
SLICE-Issue-6647-Auto-creation-of-Monticello-packages-by-RPackage--TG.1.mcz  
68.4 KB


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 6647 in pharo: Auto creation of Monticello packages (by RPackage ?)

pharo
Updates:
        Status: HumanReviewNeeded

Comment #6 on issue 6647 by [hidden email]: Auto creation of  
Monticello packages (by RPackage ?)
http://code.google.com/p/pharo/issues/detail?id=6647

(No comment was entered for this change.)


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 6647 in pharo: Auto creation of Monticello packages (by RPackage ?)

pharo
Updates:
        Status: FixToInclude

Comment #7 on issue 6647 by [hidden email]: Auto creation of  
Monticello packages (by RPackage ?)
http://code.google.com/p/pharo/issues/detail?id=6647

I've updated the slice for latest 2.0

SLICE-Issue-6647-Auto-creation-of-Monticello-packages-by-RPackage--GuillermoPolito.1

Change is good, Esteban and I reviewed it.


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 6647 in pharo: Auto creation of Monticello packages (by RPackage ?)

pharo
Updates:
        Status: Integrated

Comment #8 on issue 6647 by [hidden email]: Auto creation of  
Monticello packages (by RPackage ?)
http://code.google.com/p/pharo/issues/detail?id=6647

in 2.0 305


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker