-
Notifications
You must be signed in to change notification settings - Fork 0
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
Yola.change_site_domain 404s #19
Comments
@blaix: This issue is now a priority. |
I've verified this and it works for me without YolaPy:
Response:
I had 404 ("Partner Domain not found") there until I've added partner domain for this site manually using Django ORM. I've also reviewed code in YolaPy and it seems so straightforward that I can't believe it is it's issue. |
It sounds like the problem is that we 404 when trying to PUT a domain on a site that doesn't have one yet. Please consider that the fix you need to make here. |
@ekoval: This issue is now a priority. |
Also, please restore this test once the issue is resolved: 36229ba |
@blaix Do we have a real use case for it? I mean AFAIK right now partners cannot create site without So, what I'm trying to say here - I'm not sure if we should just fix it in that method, without considering how should our flow look like in general. |
are you saying if a site is created without a partner domain, it can never have one? |
I mean that the current flow won't allow you to create one, I think. |
SSO URL contains partner_domain name AFAIK |
So current behavior seems correct? |
I'm not sure about correctness. Just want to say that the scenario we are about to handle here won't be used in real flow. And also it might not have much sense - for real flow. Let me try to explain:
|
So maybe I'll just reMOVE a failing test? :) |
@RayeN can you explain to me what the relationship is with publishing a site and setting a partner domain? I didn't realize publishing was involved in setting it. |
Sorry, looks like I confused myself and everyone else :( Just ignore all my comments. Setting partner domain shouldn't be related to publishing (and it isn't). So, we should allow to create partner domain on update. Sorry again for confusing. |
So do we all agree that this is the fix we need? If so, we should create the issue on sbbe. |
Yeah, I think we're on the same page now. Please create a proper ticket. |
StatusSolution is known, estimate - 4 hours. |
Yola.change_site_domain
errors with a 404. I haven't figured out why, or if the fault is in yolapy, wl-proxy, or sbbe. (partially blocking #3)The text was updated successfully, but these errors were encountered: