Feature/8726 portal deprecated remove - #990
Conversation
- AddParameterToUrl
- CombodoPortalToolbox
- form handler
There was a problem hiding this comment.
Pull request overview
Removes obsolete portal compatibility APIs as part of bug #8726.
Changes:
- Removes deprecated URL and modal helpers.
- Removes legacy form callback fields.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
layout.html.twig |
Removes AddParameterToUrl. |
ObjectFormHandlerHelper.php |
Removes legacy callback data. |
toolbox.js |
Removes deprecated modal wrappers. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
| Filename | Overview |
|---|---|
| datamodels/2.x/itop-portal-base/portal/public/js/toolbox.js | Removes deprecated modal wrappers; repository callers already use the supported CombodoModal API. |
| datamodels/2.x/itop-portal-base/portal/src/Helper/ObjectFormHandlerHelper.php | Removes unused callback aliases while retaining the navigation-rule fields consumed by the portal form widget. |
| datamodels/2.x/itop-portal-base/portal/templates/layout.html.twig | Removes a deprecated global URL helper after repository callers migrated to CombodoGlobalToolbox.AddParameterToUrl. |
Reviews (1): Last reviewed commit: "N°8726 - Deprecation cleanup in portal" | Re-trigger Greptile
Molkobain
left a comment
There was a problem hiding this comment.
Some modules still to be migrated, otherwise core modifications look good.
| /** | ||
| * @deprecated 3.1.0 Use CombodoModal.OpenUrlInModal() instead | ||
| */ | ||
| OpenUrlInModal: function(sTargetUrl, bCloseOtherModals) { |
There was a problem hiding this comment.
There is still a usage of this in combodo-custom-hyperlinks
| /** | ||
| * @deprecated 3.1.0 Use CombodoModal.OpenModal() instead | ||
| */ | ||
| OpenModal: function(oOptions) { |
There was a problem hiding this comment.
There are still usages of this in approval-base and combodo-workflow-graphical-view.
Careful about the default value fallback during migration of these modules.
Base information
Symptom (bug) / Objective (enhancement)
Remove portal deprecated API
Checklist before requesting a review