Added composer.json and modman files#2
Merged
dweeves merged 1 commit intodweeves:masterfrom Oct 8, 2013
Merged
Conversation
Owner
|
HI Andreas, I don't know composer. can you explain the goal of these files ? |
Contributor
Author
|
Sure. The link I provided gives a good background on composer. |
dweeves
added a commit
that referenced
this pull request
Oct 8, 2013
Added composer.json and modman files
Contributor
Author
|
Thanks! |
|
Thanks for merging this |
PatrickCronin
added a commit
to PatrickCronin/magmi-git
that referenced
this pull request
Jul 30, 2014
This problem prevented me from performing a stock update using a fresh install of Magmi 0.7.19a on a fresh install of Magento CE 1.9.0.1. I created two simple products in Magento and tried to update their stock information them using Magmi. I created a two-column CSV ("sku" and "qty") and attempted to import it. I got the following errors:
1 SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'use_config_manage_stock' cannot be null -
2 SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'use_config_manage_stock' cannot be null - ERROR ON RECORD dweeves#1
3 SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'use_config_manage_stock' cannot be null -
4 SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'use_config_manage_stock' cannot be null - ERROR ON RECORD dweeves#2
More details on this error are here: https://sourceforge.net/p/magmi/discussion/1228365/thread/8e722889/
I tracked the problem to filterkvarr(). If the $kvarr has values which are numerical 0's, the function changes their values to null. This is because var_dump(0 == '__NULL__'); // 0 == 0 -> true. However, var_dump(0 === '__NULL__'); // 0 !== '__NULL__' -> false. So I suggest this change. (See PHP's documentation on this: http://us1.php.net/operators.comparison).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See http://magebase.com/magento-tutorials/composer-with-magento/ for background.