magento-coding-standard icon indicating copy to clipboard operation
magento-coding-standard copied to clipboard

Magento2.Legacy.InstallUpgrade.ObsoleteUpgradeSchemaScript ERROR on --severity=10

Open speedupmate opened this issue 2 years ago • 3 comments

Magento2.Legacy.InstallUpgrade.ObsoleteUpgradeSchemaScript rule fails on marketplace with ERROR on on --severity=10 application submission.

  • Marketplace allows you to submit packages supporting 2.2 where UpgradeSchemaScript was not obsolete yet

  • Before Magento 2.3, extension developers were required to write code (PHP scripts) to change the database schema.

  • Until marketplace removes 2.2 support this rule is too strict

  • Instead of declaring this as ERROR leave it as legacy/deprecated , then extension providers can support broader range of installations within one single package (cost effective) and included setup scripts would be just dead weight to higher versions

speedupmate avatar Feb 18 '22 13:02 speedupmate

Hi @speedupmate. Thank you for your report. To speed up processing of this issue, make sure that you provided sufficient information.

Add a comment to assign the issue: @magento I am working on this


m2-assistant[bot] avatar Feb 18 '22 13:02 m2-assistant[bot]

@speedupmate did you find any alternative for this issue?

YouCanDoIt12 avatar Jun 21 '22 07:06 YouCanDoIt12

@speedupmate did you find any alternative for this issue?

Only option was to ditch old version support to bypass the marketplace review and communicate to customers if older version support is needed they can request this from us directly as I just build a separate package for old version support in parallel with removed files added back. So it's just a marketplace limitation not a real world issue for merchants

speedupmate avatar Jun 21 '22 08:06 speedupmate