-
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
Check Data should validate gallery information #271
Comments
Hello. Would you be able to contribute a pull request with a fix? |
I could code a fix for 1.7.0.2 (I already have) then port it to magento2
|
Thanks. That would help as well. |
Ok, I have a fix for the specific _media_attribute_id error. At this point I am wondering:
|
Added _media_attribute_id validation during the first step of the import procoess
Thank you. We will review this thread and try to answer the questions. |
@piotrekkaminski Did you get a chance to look into this? |
* Modularity improvements: * Breakdown of the Adminhtml module: * Moved Newsletter, Report logic to the respective modules * Moved blocks, config, view, layout files of other components from Adminhtml folder to respective modules * Removed application dependencies from the library * Move Magento\Core common blocks in the library * Application areas rework: * Areas are independent from Store * Removed deprecated annotation from the getArea methods * GitHub requests: * [#245](#245) -- Resolve design flaws in core URL helper * [#247](#247) -- Bug in Mage_Page_Block_Html_Header->getIsHomePage * [#259](#259) -- Turkish Lira (TRY) is supported for Turkish members. * [#262](#262) -- Update Rule.php * [#373](#373) -- [Magento/Sales] Fixed typos * [#382](#382) -- [Magento/Core] Fixed typos * [#304](#304) -- Removed Erroneous closing " * [#323](#323) -- InstanceController.php - made setBody protected * [#349](#349) -- Move Mage_Catalog menu declaration into Mage_Catalog module. * [#265](#265) -- Update Merge.php * [#271](#271) -- Check Data should validate gallery information * [#305](#305) -- Extra ", tidied up nested quotes * [#352](#352) -- Add Croatia Country as part of European Union since 1st July 2013 for default european local countries in configuration * [#224](#224) -- Tax formatting is locale aware and should not * [#338](#338) -- Correcting SQL for required_options column * [#327](#327) -- cart api bug fix & partial invoice credit memo divide by zero warning * Themes update: * Old frontend (magento_demo) and backend (magento_basic) themes are removed * Updated templates and layout updates in the Bundle, Catalog, CatalogInventory, CatalogSearch, Downloadable, ProductAlert, Reports, Sendfriend modules * Fixed bugs: * Fixed the error when Magento cannot be reinstalled to the same database with table prefix * Fixed report Products in Cart * Fixed error on attempt to insert image to CMS pages under version control * Fixed order status grid so that you can assign state, edit, and view custom order status * Fixed Related Products Rule page so that category can be selected on conditions tab * Fixed Magento_Paypal_Controller_ExpressTest integration test so it is re-enabled * Fixed the bug with international DHL quotes
Hello barbazul, |
[Tango] Bug: BaseURL in Static View Files
…ta model to validation
…owing partial customer data update
…utes to validation of customer creation
…tes magento#489 - Merge Pull Request magento/graphql-ce#489 from magento/graphql-ce:feature/271-Customer-Attributes-Validation - Merged commits: 1. dba9800 2. 7f6718d 3. 3735e91 4. 342675a 5. e177801 6. 9b5b0a1 7. 9f1ba1a 8. 670116c 9. 40e2363 10. d071027 11. b4db736 12. 4b7acdc 13. 48f1891 14. 3641627 15. ef078b6 16. 1c65121 17. cc69055 18. 7ee6a1a 19. f358267 20. eb48f44 21. 2eb7c15 22. 7ca7acc 23. 1c30336 24. 4382c3a 25. da8d6ac 26. 0b4c496 27. 5ae0633
Current implementation ignores media gallery information during data check and then, if data is invalid (i.e. a row is missing the _media_attribute value) errors might occur.
I confirmed this bug in 1.7.0.2 and could not test in magento2 due to not having a PHP < 5.4 available at the moment. I did, however check magento2 code and it looks as if it is still there since there is no validation of media gallery data furing the first step and in app/code/core/Mage/ImportExport/Model/Import/Entity/Product.php line 1275 it blindly assigns
$insertValue['attribute_id']
to$valueArr['attribute_id']
which gets passed to the database "as is" in line 1281 and raises an SQL exception if its nullThe text was updated successfully, but these errors were encountered: