Page is getting generated without data
See original GitHub issue🐞 Bug report
I have read access on services but page is getting generated without data
Description
Below is angular code. Getting called in ngInit
this.subSink.add(
this.faqService.getAll().subscribe(
(f) => {
this.panels = f.map((x) => ({ active: false, ...x }));
},
(error) => {
console.error(error);
}
)
);
faq service is fetching data from firestore. That have universal read access.
🔬 Minimal Reproduction
💻Your Environment
Angular Version:
11.0.9
Scully Version:
^1.0.0
🔥 Exception or Error
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (4 by maintainers)
Top Results From Across the Web
ssrs generates blank extra page when no data is selected
The problem occurs when there is no data for a tab (unique report). The message I want for no rows does show up,...
Read more >Basic Features: Pages - Next.js
In Next.js, you can statically generate pages with or without data. Let's take a look at each case. Static Generation without data. By...
Read more >90.63% of Content Gets No Traffic From Google. And How to ...
01 90 percent pages get no organic search traffic from google 1. Sidenote. Here's a list of the top 500 pages by search...
Read more >No Page to Display in the Viewer and Corrupted Report ...
Solution. The issue is caused by the change Report rendering now skips the generated blank pages. Use the property Report. SkipBlankPages to control...
Read more >how to remove blank pages? - Jaspersoft Community
Hi, I'm doing a report with iReport 5.5.2 and now have the task of removing ... I generated a blank page if no...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kunjee17 The problem is that your firebase driver runs outside of ngZone. Because of that, Scully does extract the HTML before the data is available. For use-cases like this, we have a manualIdle control. That way, you can tell Scully when the page is ready. I did a PR to your reproduction that show how that would work. first I updated your component to this:
And in your config file I updated the route to use ManualIdele checking. like this:
After those changes, your app works like expected. I’m going to close this issue because there is no action Scully can take. I will reopen the issue if there is a reason to do so! Feel free to keep discussing in here. If you have more issues, don’t hesitate to open up a new issue.
@kunjee17 I’l work on this after I finish my current task