question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cant fetch collection data on a new channel

See original GitHub issue

Describe the bug

On fetching the products i a collection, I get the following error image Vendure logs

[run:worker] error 12/21/20, 1:37 PM - [RpcExceptionsHandler] error.no-price-found-for-channel[run:worker] Error: error.no-price-found-for-channel
[run:worker]     at ProductVariantService.applyChannelPriceAndTax (/home/rohan/vendure-dev/packages/core/src/service/services/product-variant.service.ts:398:19)
[run:worker]     at /home/rohan/vendure-dev/packages/core/src/plugin/default-search-plugin/indexer/indexer.controller.ts:318:50
[run:worker]     at Array.map (<anonymous>)[run:worker]     at IndexerController.hydrateVariants (/home/rohan/vendure-dev/packages/core/src/plugin/default-search-plugin/indexer/indexer.controller.ts:318:14)[run:worker]     at /home/rohan/vendure-dev/packages/core/src/plugin/default-search-plugin/indexer/indexer.controller.ts:123:43
[run:worker]     at processTicksAndRejections (internal/process/task_queues.js:97:5)
[run:worker]     at /home/rohan/vendure-dev/packages/core/src/worker/async-observable.ts:30:32
[run:server] error 12/21/20, 1:37 PM - [Vendure Server] {"status":"error","message":"Internal server error"}

To Reproduce

  1. Create a new channel
  2. Add some products with facetvalues
  3. Create a new collection and filter it by a particular facet value
  4. Try to retrieve the content of the collection

Expected behavior I expect to get the contents of the channel

Environment (please complete the following information):

  • @vendure/core version: Vendure dev (next branch)
  • Nodejs version: 12.20
  • Database (mysql/postgres etc): Postgres

Additional context Slack chat https://vendure-ecommerce.slack.com/archives/CKYMF0ZTJ/p1608543291113100

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
rohanrajpalcommented, Jan 9, 2021

Just tried it out. It seems to be working now, thanks a lot for fixing this!

0reactions
rohanrajpalcommented, Jan 9, 2021

You’ll need to follow the migration guide to upgrade: https://www.vendure.io/blog/2020/12/announcing-vendure-v0.18.0/#breaking-changes--migration-guide

My bad, I thought this issue was the channel deletion issue. Let me try this out. Also, I updated from 0.18.0 to 0.18.1, so think I need not follow the migration guide?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix 'Error Fetching Your Channel Information' in ...
The error fetching your channel information occurs in Streamlabs OBS ... if you want to see the latest streams from the channels you...
Read more >
hyperledger - Unable to fetch private data from peers (Empty ...
You will get this error if the gossip layer can't find any other peers in the network that have access to this collection....
Read more >
Understand limited data in YouTube Analytics - Google Support
We want to give creators useful data to make informed decisions about their channel, but some data may be limited in YouTube Analytics....
Read more >
Remember to Rescan | Federal Communications Commission
From that menu, select "Channel". Then click "Auto Channel Scan". Click the "Menu" button. Using the up/down buttons, click into the "Set Up"...
Read more >
Can't get new channels on my TV | Sony USA
Press the HOME button. Select Settings. Select Digital Set-up. Select Digital Auto Tuning. Select Yes. *Android TV is a trademark ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found