[x] Are you able to consistently reproduce the issue?
[x] Did you search the issue queue for existing issue? Search issues
Issue Description
Cannot make product visible right after creating a new product, and then trying to make it visible from the PDP page. Refreshing the PDP page after creating the product and trying again seems to resolve the issue.
Steps to Reproduce
As an admin from the product grid...
Create a new product
Fill in product data
Click the eye icon to make the product visible
Click the Publish button
See changes published successfully message
Notes the eye icon, reverted back to its previous state with the slash
View the product grid as a customer incognito, or otherwise not signed in
See your product is not visible on the grid
Refresh the PDP page as the admin
Make the product visible
Publish again
Visibility button eye icon should not have reverted back to an eye with a slash.
View the product grid once again as a customer
See your product is visible on the grid
Possible Solution
The publishContainer that controls the publish controls may be getting an incorrect list of products to watch for changes. The publish controls are supplied a list of document ids, usually products or media that it will publish when you click the "Publish" button.
Prerequisites
Issue Description
Cannot make product visible right after creating a new product, and then trying to make it visible from the PDP page. Refreshing the PDP page after creating the product and trying again seems to resolve the issue.
Steps to Reproduce
Possible Solution
The publishContainer that controls the publish controls may be getting an incorrect list of products to watch for changes. The publish controls are supplied a list of document ids, usually products or media that it will publish when you click the "Publish" button.
Versions
Node: 7.2.0 NPM: 5.6.0 Meteor Node: 8.9.4 Meteor NPM: 5.6.0 Reaction CLI: 0.29.0 Reaction: 1.9.0 Reaction branch: master Docker: 17.12.0-ce