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

Error related to Product publications and revision control #2079

Closed
mikemurray opened this issue Apr 4, 2017 · 5 comments
Closed

Error related to Product publications and revision control #2079

mikemurray opened this issue Apr 4, 2017 · 5 comments
Labels
bug For issues that describe a defect or regression in the released software

Comments

@mikemurray
Copy link
Member

mikemurray commented Apr 4, 2017

Sometimes we get the following error in terminal because of collection observables across the Media / Product / Products subscriptions.

Exception in queued task: Error: Could not find element with id NCHtKw9CaT5WssF4s to change
    at [object Object]._.extend.changed (packages/ddp-server/livedata_server.js:188:13)
    at [object Object]._.extend.changed (packages/ddp-server/livedata_server.js:403:10)
    at [object Object]._.extend.changed (packages/ddp-server/livedata_server.js:1262:19)
    at Object.Revisions.find.observe.changed (server/publications/collections/products.js:346:20)
    at [object Object].observeChangesCallbacks.changed (packages/minimongo/observe.js:162:28)
    at self.applyChange.changed (packages/minimongo/observe.js:66:44)
    at packages/mongo/observe_multiplex.js:182:30
    at Array.forEach (native)
    at Function._.each._.forEach (packages/underscore.js:139:11)
    at Object.task (packages/mongo/observe_multiplex.js:176:9)
    at [object Object]._.extend._run (packages/meteor.js:807:18)
    at packages/meteor.js:785:14

We should try to fix this, once and for all. Some suggestions follow.

  • Remove old, Blaze, PDP page (should be done regardless)
  • Maybe disallow revision control from being disabled completely
  • Get rid of collection observables in publications in favor of doing that on client side, return multiple cursors from those publications instead.
  • GraphQL / Catalog collection to piece things together
  • Change how revision control works

Expected behavior

Should never happen

Actual Behavior

Happens infrequently, but still seems to be an issue

Steps to Reproduce the Behavior

??? infrequently reproducible

@aaronjudd aaronjudd added this to the v1.2.x milestone Apr 4, 2017
@aaronjudd
Copy link
Contributor

Let's create an issue for removing the PDP.

@aaronjudd aaronjudd added the ready label Apr 4, 2017
@aaronjudd aaronjudd modified the milestones: v1.2.x, Next, PDP UI Components Apr 25, 2017
@brent-hoover brent-hoover added the bug For issues that describe a defect or regression in the released software label May 16, 2017
@spencern
Copy link
Contributor

spencern commented Oct 4, 2017

@mikemurray does this issue still exist?

@brent-hoover
Copy link
Collaborator

@spencern I still see it regularly. But not in any reproducible way.

@brent-hoover
Copy link
Collaborator

I'm debating whether to close this since it's not actionable but keeping open so that we can have the history so someone doesn't just open a new issue with the same error.

@aldeed
Copy link
Contributor

aldeed commented Mar 13, 2018

Fixed in 1.9.0

@aldeed aldeed closed this as completed Mar 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug For issues that describe a defect or regression in the released software
Projects
None yet
Development

No branches or pull requests

5 participants