[ahawastecollection] Fix upgrade instructions#20417
Conversation
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
There was a problem hiding this comment.
Pull request overview
Fixes the AHA Waste Collection binding’s upgrade instructions by correcting the XML element used to specify channel types in update.xml, addressing the unusable binding state reported in issue #20383.
Changes:
- Replace
<typeId>with<type>foradd-channelinstructions in target versions 1 and 2. - Ensure the upgrade instructions reference the correct channel type identifiers during migration.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@andrewfg do you have any thoughts about wether we should add a validation for upgrade instructions similar to the thing-type ? |
All of |
|
Thanks, I don't see this validation/check in vscode. I would opt to add it as build gatekeepere, to prevent issues like this. I might create a PR to do the validation similar to the thing-type.xml |
I think you need an xml plugin |
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
|
This is now a fix for the regression of #19833 and should be backported |
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
Somehow this wrong tag was not discovered during tests and review.
Fixes: #20383
Should be backported as it is part of 5.1.3 and the current binding is unusable