-
Notifications
You must be signed in to change notification settings - Fork 79
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
Moving items cause duplicates on update #145
Comments
More background on this: In [30085-core], This has two (so far) unintended consequences for the parser:
Not sure the best way to inform the parser about the first issue. I don't feel that we can reliably assume a same-named class method is necessarily the relocated version of a deleted function (nor does this likely happen very often). Maybe we can pass in a config file identifying relocations for the parser to take into consideration? This may be somewhat moot if the parser deleted (or hid) resources that were not updated during a full parsing (optionally) (see: #147). The old, and now un-updated, version would become hidden. We just wouldn't automatically know for certain if it was because that resource was truly deleted or just moved. There are more options for handling the second case (and thus this ticket specifically). A hook should only be fully documented in one place. So if an instance of |
I think #94 is related as well. |
Actually |
#192 fixes the duplicate hooks being created issue only. If we want to look later and trash collecting the duplicates, we'll have to also look at merging all of the notes to the original and then simply updating the parent. |
Example:
It seems like hook had been moved around in core source and update created duplicate, rather than update existing entry. This likely need to be better handled on updates.
The text was updated successfully, but these errors were encountered: