Skip to content
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

[v3.0.0] Cannot upload images to product #168

Closed
spencern opened this issue Dec 26, 2019 · 1 comment · Fixed by #188
Closed

[v3.0.0] Cannot upload images to product #168

spencern opened this issue Dec 26, 2019 · 1 comment · Fixed by #188

Comments

@spencern
Copy link
Contributor

Issue Description

Attempting to upload a product image to a newly created product results in a toast error being displayed on the client.
The photo upload is not completed.

tus: invalid or missing Location header, originated from request (response code: 200, response text: <!DOCTYPE html> <html> <head> <link rel="stylesheet" type="text/css" class="__meteor-css__" href="/7e17d3a8ef1ab6da8dcc1d2d32c486a81fc99229.css?meteor_css_resource=true"> <meta name="fragment" content="!"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <noscript><div style="padding: 40px; font-size: 200%; text-align: center;">This site requires JavaScript. Please enable it in your browser settings.</div></noscript> <script type="text/javascript">window.prerenderReady = false;</script> </head> <body> <script type="text/javascript">__meteor_runtime_config__ = JSON.parse(decodeURIComponent("%7B%22meteorRelease%22%3A%22METEOR%401.8.1%22%2C%22meteorEnv%22%3A%7B%22NODE_ENV%22%3A%22production%22%2C%22TEST_METADATA%22%3A%22%7B%7D%22%7D%2C%22PUBLIC_SETTINGS%22%3A%7B%22graphQlApiUrlHttp%22%3A%22http%3A%2F%2Flocalhost%3A3000%2Fgraphql-beta%22%2C%22graphQlApiUrlWebSocket%22%3A%22ws%3A%2F%2Flocalhost%3A3000%2Fgraphql-beta%22%2C%22i18nBaseUrl%22%3A%22http%3A%2F%2Flocalhost%3A3000%22%2C%22storefrontHomeUrl%22%3A%22http%3A%2F%2Flocalhost%3A4000%22%7D%2C%22ROOT_URL%22%3A%22http%3A%2F%2Flocalhost%3A4080%22%2C%22ROOT_URL_PATH_PREFIX%22%3A%22%22%2C%22autoupdate%22%3A%7B%22versions%22%3A%7B%22web.browser%22%3A%7B%22version%22%3A%223281211b848ca1619b029b6868f699628387deb3%22%2C%22versionRefreshable%22%3A%22663664386d50393657884e0bd20b493af34e0494%22%2C%22versionNonRefreshable%22%3A%22b3d25dee4f6f922c0e10b3e4068d4e06c3f5a822%22%7D%2C%22web.browser.legacy%22%3A%7B%22version%22%3A%227c702afb1e738ab6f277af83aea6a573c414aa74%22%2C%22versionRefreshable%22%3A%22663664386d50393657884e0bd20b493af34e0494%22%2C%22versionNonRefreshable%22%3A%22819dccba656d9afc5fa23dc5b30d835a05e88905%22%7D%7D%2C%22autoupdateVersion%22%3Anull%2C%22autoupdateVersionRefreshable%22%3Anull%2C%22autoupdateVersionCordova%22%3Anull%2C%22appId%22%3A%2216fc7k11cajtkx5sgjml%22%7D%2C%22appId%22%3A%2216fc7k11cajtkx5sgjml%22%2C%22isModern%22%3Atrue%7D"))</script> <script type="text/javascript" src="/c11a11308b42e2e13031df6b3b3e1d6bfc2bacf9.js?meteor_js_resource=true"></script> </body> </html>)

Steps to Reproduce

Please provide starting context, i.e. logged in as a user, configure a particular payment method.

  1. Fresh install of Reaction via Reaction Platform
  2. Ensure that reaction-admin is running
  3. Create account and first shop
  4. Create product
  5. Attempt to upload a product image
  6. Observe error

Possible Solution

Not obligatory, but suggest a fix/reason for the bug

Versions

release-3.0

@spencern
Copy link
Contributor Author

This was resolved for me in the recently merged #166

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant