-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Error when adding flat shipping method #2180
Comments
Hmm, I think you're right, I just tried it again and I don't get the same results. I don't remember changing anything else, but I will investigate. |
I would love to get a reproducible case for this as a couple of people have seen it including us on our demo site, but can't figure out exactly how it gets into that state to get it to happen locally so I can fix it. |
@Stat1c14 We pushed a fix that I believe should fix this issue. #2224 Can you test with the current code on |
Hi @Stat1c14 this issue is not solved in the latest commit f1306aa: I build my own container for test it and have the same message: you can see it running my container: Regards, |
@abdulsemiu-atanda some idea how fix it? |
@zenweasel some idea how fix it? Thanks in advance, |
Hi @jujes, are you running on the latest release? Our 1.2 release was thought to have fixed this issue. |
Hi @spencern and @zenweasel :) yes I'm running the last 1.2 version, my own build version: docker pull jujes/reaction:1.2.0 and reactioncommerce/prequel this last updated 9Hs ago... In bouth cases get the same error |
@jujes What do the records in your |
No, I mean in the actual db collection |
where I can found this info? Thanks in advance :) |
If you open another terminal window and run
It will show you what's in that collection |
https://asciinema.org/a/121107 this is the container what I'm ussing: inside the running container:
and get:
|
Sorry forgot you were running within a docker container and not a local project. You will want to connect to port 27017 on your docker container thats running mongo. If you have mongo installed on your development machine you should just be able to connect via the command line client. |
You don't need to use the
Or you could use RoboMongo or some other Mongo GUI |
ok, here it is: the records in Shipping collection look like
|
Well, the issue is still that the |
yes, I see... |
You can use |
now it's work! and let me create new Flat Rate... |
So simple, right? ;) |
yes, thanks! |
@zenweasel one think.... when I make docker-compose up, the first log warning message is: 12:54:10.236Z WARN Reaction: No shopId, waiting one second... here the complete info:
maybe this issue come from the way to load shopId :) |
I believe the shopId race condition was finally fixed in #2224. (which is now in the development branch). @jujes, can you test your deployment with the latest code from development and see if that solves your issue? Also, something seems seriously wrong if it takes 10 seconds to load the base fixtures and return a single shop document. That should happen near instantly. What is your deployment setup like? Is your database possibly far away from your app server? |
@jshimko I'm pretty sure he already tested it with that fix in place and no go. |
Alrighty, give this PR a test then... |
@zenweasel I believe it's all good now. Thanks! |
Expected behavior
Flat shipping methods can be easily added and removed.
Actual Behavior
Fails with error
No Provider ID provided when adding methods [bad-provider-id]
Steps to Reproduce the Behavior
Just run the most recent docker build and try to add a shipping method.
The text was updated successfully, but these errors were encountered: