-
-
Notifications
You must be signed in to change notification settings - Fork 730
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
Backoffice not available for some users ? (Error 500) #4392
Comments
This is related to this Bugsnag issue: https://app.bugsnag.com/open-food-france/open-food-france-prod/errors/5daf8035e90ad6001b8e2cbb
|
This patch enables me to see the enterprise again: --- a/app/serializers/api/admin/enterprise_serializer.rb
+++ b/app/serializers/api/admin/enterprise_serializer.rb
@@ -62,6 +62,7 @@ class Api::Admin::EnterpriseSerializer < ActiveModel::Serializer
# # medium: LOGO_MEDIUM_URL
# # }
def attachment_urls(attachment, versions)
+ return
return unless attachment.exists?
versions.each_with_object({}) do |version, urls| |
I can replicate the error in the console on the server:
|
It looks like the hostname |
According to https://status.aws.amazon.com/, Amazon is aware of this issue and working on it. All OFN instances using Amazon are affected, UK, France, Aus, ... |
Description
Some users cannot reach the /admin URL (or any URL in the backoffice without seeing the snail).
I'm trying to find a pattern and it is possible it only affect owners and not managers. But I need more data to confirm.
Super admin cannot reach these enterprise profile as well. Error 500
Steps to Reproduce
/admin/enterprises/le-jardin-de-deux-main/edit
or/admin/enterprises/hub-demo-open-food-france/edit
/admin/enterprises/nantes-chantenay/edit
No problem. What's the difference between the two of them?Animated Gif/Screenshot
Severity
bug-s1: a critical feature is broken: checkout, payments, signup, login
Your Environment
The text was updated successfully, but these errors were encountered: