Fixing rename for permitted subclasses.#7977
Conversation
|
(Found a problem in the patch.) |
a77b372 to
d14199a
Compare
|
Should be fixed now, and ready for review. Please let me know what you think! |
mbien
left a comment
There was a problem hiding this comment.
this looks good as far as I can tell (thanks for the comments in CasualDiff).
merge conflict in apichanges.xml needs to be resolved + rebasing would be good to have a fresh CI run before integration.
mbien
left a comment
There was a problem hiding this comment.
I found a regression right after review :(
if you rename the interface, it will remove the permits section, this does not happen in NB 24
|
FWIW: the pre-existing methods now are a bit problematic, as if some code takes a So, I've tried to go through the whole NetBeans (production code), and fix what I could. Will push that shortly. I think I still need to make at least one pass through it, maybe add some tests, and maybe add some automated way to prevent use of the pre-existing methods. Will try to look at that as I can. |
|
@lahodaj Unfortunately I didn't get to taking a look why tests are failing and tomorrow is freeze - probably better to move this to NB 26? |
I apparently broke something in the |
d87c35c to
1fad9d2
Compare
|
I think this is ready for review. I've updated, squashed, went through the changes. The "old" |
There was a problem hiding this comment.
Code looks good to me. Ran a quick manual test and everything worked.
Deprecating the method was a good idea - wanted to suggest that too so that it isn't used by accident again.
|
Any issue with merging this sometime soon? |
|
Given, the broad changes, I think it would be good to get this in early, so I suggest to merge now. That way people running nightlies will test and report problems early. |
|
i reviewed it and tested it - have no concerns regarding integration. |
1fad9d2 to
71f656d
Compare
Having something like:
Renaming
Subtypewill not rename the identifier in thepermitsclause. This is because:a) the write model (
CausalDiff) does not supportpermitsb) the indexing does not include the permitted subclasses.
This PR is trying to fix both.