-
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
Multiline field is broken #18115
Comments
Hi @escopecz. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
where @escopecz do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
Hi @engcom-backlog-nazar. Thank you for working on this issue.
|
Hi @escopecz, thank you for your report. Customer attribute available only on EE version. Please follow these guidelines for proper tracking of your issue. You can report Commerce-related issues in one of two ways: GitHub is intended for Magento Open Source users to report on issues related to Open Source only. There are no account management services associated with GitHub. |
I saw that ticket. I find my ticket more descriptive and actually all I care about is the API problem that it returns/expects sometimes array and sometimes string. This is not mentioned at the other ticket at all. Please reopen. |
@escopecz No, problem described in referenced ticked actually the same, custom attribute not save correctly, so in the API you have the same result, if someone fixed referenced ticket, you resolve you issue. |
How come the street multiline field works and other don't? I have to implement the API communication for this field and it's nightmare as I don't know what the rule for the field value type is. I'd remove this type from field mapping completely as it's buggy, but the street field is important. |
@escopecz |
Thanks a lot for explanation! That's what I needed. So I'll ignore all multiline fields that are not system. |
Did anybody here already work on making Magento allowing to change a field type (company in our case) to multiline and make it work across the frontend and API? We are wondering if it is better to implement this in the core and provide a pull request or make a own custom module. Any feedback is appreciated. Sorry for the forum-like post |
@vivekkumarcedcoss but that is only for Admin Config inputs, right? |
Yes @amenk that PR is only for Configuration. |
Hi @escopecz. Thank you for your report. The fix will be available with the upcoming 2.3.2 release. |
Hi @escopecz. Thank you for your report. The fix will be available with the upcoming 2.2.9 release. |
Preconditions
Magento 2.2.4
API authorization OAuth1a
Steps to reproduce
Hmm, that is interesting... It's the value of the first field as a string. So multiline fields will return string as a value? Wait, the Street field is also type of multiline. What that field returns in the API?
So this multi line field can return a string and/or an array? You know what's interesting too? The street field require an array when you want to save a value to that field via API. But another multiline field requires a string. What is the pattern here?
Expected result
Actual result
The text was updated successfully, but these errors were encountered: