Skip to content

Plugin update fails if REST controller file has its constructor changed or is deleted #7464

Open
@jessy-p

Description

Describe the bug

When the WCPay plugin update is done, if it involves a code change where the arguments passed to a constructor have been changed, we get an error.
More details here: p1696877278872479-slack-CGGCLBN58

Actual behavior

Fatal error while updating the plugin with new version containing code changes

Expected behavior

Should be able to update the plugin without errors

Additional context

Please refer p1696877278872479-slack-CGGCLBN58

Activity

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

Metadata

Metadata

Assignees

Labels

category: devopsFeatures and tools supporting dev process.focus: misc or unknownIssues that need to be added to a focus area (aka "needs focus").priority: mediumThe issue/PR is medium priority—non-critical functionality loss, minimal effect on usabilitytype: bugThe issue is a confirmed bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions