-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'shipping_method' column in sales_order and quote_address table size limit inconsistent/too small #6475
Comments
@reztierk thank you for reporting the issue. We created internal ticket MAGETWO-58722. |
This is a really fundamental bug and is preventing checkout for a lot of carriers. Please can advise when a fix will be available? |
This is affecting us on ShipperHQ. There are a large number of carriers that exceed this, we need it to be in region of 80 combined to be non-impacting. Aus Post is another example e.g. AUSPOST_INT_LETTER_AIR_OWN_PACKAGING_MEDIUM. We also add other information on the end of the method code to help the post-order labelling systems (e.g. zone, pick desk, etc), so we need this higher else they all stop working. We have working M1 clients migrating to M2 and finding system no longer works. |
@wsagen @wsakaren thank you for taking part! We don't have fixing time estimate, but MAGETWO-58722 was promoted in priority today. |
It actually needs to be 120 if possible combined btw. |
FYI, this bug is currently blocking our ability to launch our new M2 site. Any time estimate or update on a solution? |
@ddeppner i can state that this issue is marked as high priority, but I don't have any estimates on fixing. |
…ote_address table size limit inconsistent/too small #6475
@SerhiyShkolyarenko I see the attached commit, estimating this one will be part of Magento 2.2.x branches. Any chances to have it fallbacked quickly to 2.1.x ? Best regards |
@reztierk, thank you for your report. |
Dear @magento-engcom-team Imho this fix is not sufficient. Since it's put only in an UpgradeSchema, it is not triggered when installing from scratch. |
[Arrows] Fixes for 2.4 (pr115) (2.4-develop)
The size of the column 'shipping_method' in the sales_order and quote_address tables are too small and inconsistent. This may cause an issue with a custom carriers methods as some may have larger method codes ( ie Purolator has a method with a code of 'PurolatorExpressInternationalEnvelope10:30AM' )which will become truncated upon saving and make the order return errors when creating a shipment. It is also noteworthy that the column length on the quote_address table is 40 while on the sales_order table it is 32. This will also cause issues with core Fedex module as some of the methods supported already exceed the lengths available (ie 'EUROPE_FIRST_INTERNATIONAL_PRIORITY'), prior to adding the carrier code which is appended to the method code when saving (ie the intended field value would be 'fedex_EUROPE_FIRST_INTERNATIONAL_PRIORITY').
Preconditions
Steps to reproduce
Expected result
Actual result
My recommendation would be to use the same value for the field length that was used in Magento 1 of 255.
The text was updated successfully, but these errors were encountered: