Closed sta1r closed 1 year ago
Hi @sta1r. Thank you for your report. To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:
@magento give me 2.4-develop instance
- upcoming 2.4.x release@magento I am working on this
Join Magento Community Engineering Slack and ask your questions in #github channel. :warning: According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting. :clock10: You can find the schedule on the Magento Community Calendar page. :telephone_receiver: The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.
Hi @engcom-Dash. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:
Area: XXXXX
label to the ticket, indicating the functional areas it may be related to.2.4-develop
branch@magento give me 2.4-develop instance
to deploy test instance on Magento infrastructure. 2.4-develop
branch, please, add the label Reproduced on 2.4.x
.Hi @sta1r ,
Verified the issue in 2.4.7-beta1 magento instance and the issue is not reproducible,Kindly recheck the behaviour. As per the Dev Docs we are 2.4.7-beta1 enterprise edition with DB prefix and its installed successfully, refer the below screenshots:
Strange, it works now. Sorry - I don't know what the problem was then.
The error was again throws in 2.4.7-beta2 can anyone give me a solution how to fix it ?
I encountered the same issue described above while developing a custom shipping integration. The main issue is the length of the table name (Max 64). For instance: was perspective_novaposhta_counterparty_addresses_doors added the "_contact_person" And M2 handles names as perspective_novaposhta_counterparty_contact_person_addresses_doo but not as described in the DB schema.
@engcom-Hotel @engcom-Dash I think we need to reopen the task to clarify the exception message. What do you think about it?
FYI @River-12 @sta1r
Affects all version of M2 with db_schema.xml
We are also getting the same error trying to update from 2.4.6-p4 to 2.4.7. Does any know how to fix?
@monteshot @sta1r did you find a fix for the issue?
@nomis11uk I shortened the table name. In my case
Magento 2.4.7 adds a new table called payment_services_order_status_data_production_submitted_hash
its a bit long at 60 characters, after our prefix of 4 characters and and underscore was added it took the length to 65 and beyond Mariadb limit of 64.
So anyone with a prefix of 5 or more characters including the underscore will see this error.
I reduced the prefix size and it then installed just fine.
In my case, installation went well using --db-prefix=m_. Hope that works for you too.
This has now been fixed as pointed out by @chernenm on another thread:
The fix for this issue has just been released in scope of a new Payment Services package version 2.5.0, the package is available at repo.magento.com If you are already on 2.4.7 please run composer require magento/payment-services:2.5.0 --with-all-dependencies to get the latest version. If you are upgrading to 2.4.7 the latest package will be used automatically.
The new version "supports Adobe Commerce guidelines for the --db-prefix parameter"
Preconditions and environment
Steps to reproduce
Expected result
Actual result
Additional information
Install works fine without supplying a table prefix.
Release note
No response
Triage and priority