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

Multiple errors when attempting to create or edit a product #212

Closed
brent-hoover opened this issue Feb 7, 2020 · 5 comments
Closed

Multiple errors when attempting to create or edit a product #212

brent-hoover opened this issue Feb 7, 2020 · 5 comments

Comments

@brent-hoover
Copy link
Collaborator

Issue Description

Clicking on "Create Product" gives you a spinner in the top right of the screen and console errors appear. You cannot edit fields other you get a "Match Error" when you go from field to field. The product does get created but it's blank and any edits you've attempted to make have been discarded

spinner-in-admin

Error in console:

Exception in delivering result of invoking 'products/updateProductField': TypeError: this.forceUpdate is not a function
    at 5650109b78b2a3b0e1a28555f19526d48d064113.js?meteor_js_resource=true:959
    at n._callback (5650109b78b2a3b0e1a28555f19526d48d064113.js?meteor_js_resource=true:1)
    at n._maybeInvokeCallback (5650109b78b2a3b0e1a28555f19526d48d064113.js?meteor_js_resource=true:844)
    at n.receiveResult (5650109b78b2a3b0e1a28555f19526d48d064113.js?meteor_js_resource=true:844)
    at M._livedata_result (5650109b78b2a3b0e1a28555f19526d48d064113.js?meteor_js_resource=true:844)
    at M.onMessage (5650109b78b2a3b0e1a28555f19526d48d064113.js?meteor_js_resource=true:844)
    at 5650109b78b2a3b0e1a28555f19526d48d064113.js?meteor_js_resource=true:842
    at Array.forEach (<anonymous>)
    at c.forEachCallback (5650109b78b2a3b0e1a28555f19526d48d064113.js?meteor_js_resource=true:842)
    at k.socket.onmessage (5650109b78b2a3b0e1a28555f19526d48d064113.js?meteor_js_resource=true:842)

Steps to Reproduce

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

  1. Fresh clone of reaction development platform
  2. Create user/shop
  3. Attempt to create or edit a product
  4. Observe errors

Versions

Platform: 3.0.0 Admin: 3.0.0-beta.4 hash: 8b87d8a02

@aldeed
Copy link
Contributor

aldeed commented Feb 10, 2020

@mikemurray or @willopez Can you look into this?

@willopez
Copy link
Member

@zenweasel the new GQL based product editor is almost ready and will solve this issue: #188

@mikemurray
Copy link
Member

Yea, the new product UI changes should address this issue.

@aldeed
Copy link
Contributor

aldeed commented Mar 20, 2020

@mikemurray @willopez Can this be closed now?

@willopez
Copy link
Member

yes

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

No branches or pull requests

4 participants