Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend EpBehaviorCategoryChange and ClassRecategorized with the old package name #12106

Open
chisandrei opened this issue Dec 14, 2022 · 0 comments

Comments

@chisandrei
Copy link
Contributor

Currently EpBehaviorCategoryChange and ClassRecategorized have the name of the old and new categories, and the class that is categorized. From this information it is not possible to know the old package of the class.

For example, below we move the class WrapperSignal from the tag Signals in the package Beacon-Core to the tag Signals in the package Beacon-Extra.

Screenshot 2022-12-14 at 10 50 03

From the Epicea event we can get the name of the new package and new category so we can determine the package name and the tag name. But we only get the name of the previous category, Beacon-Core-Signals in this case, and based on it we do not know what the package/tag names are.

Fixing this would require extending all the places that raise ClassRecategorized announcements to also save the old package name.

Tested in Pharo-11.0.0+build.383.sha.421dbef721c2c2bf771fab5c999a9a0260225096 (64 Bit)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant