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.

If pollInterval detects a new version and I click on a not existent link it redirects sine fine

See original GitHub issue

Describe the bug

After https://github.com/sveltejs/kit/pull/3412 if I have an app with adapter-static with this config:

version: {
  name: Date.now().toString(),
  pollInterval: 5 * 1000,
}

if the polling detects the update and I click on a link for a page which doesn’t exists instead of rendering the __error.svelte page it keeps in an infinite redirect.

Reproduction

https://github.com/frederikhors/iss-poll-404

Logs

No response

System Info

System:
    OS: Windows 10 10.0.19044
  Binaries:
    Node: 16.14.0 - C:\Program Files\nodejs\node.EXE
    npm: 8.5.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (98.0.1108.50)
    Internet Explorer: 11.0.19041.1202
  npmPackages:
    @sveltejs/adapter-static: 1.0.0-next.28 => 1.0.0-next.28
    @sveltejs/kit: 1.0.0-next.269 => 1.0.0-next.269
    svelte: 3.46.4 => 3.46.4

Severity

blocking an upgrade

Additional Information

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
jycouetcommented, Mar 15, 2022

Thx, I’ll do the same 😅

1reaction
frederikhorscommented, Mar 15, 2022

Isn’t it too “hard” for your users a reload directly?

Nope for this app.

What if he was typing something?

I save the information in the localstorage in almost all dirty forms (when there is worthy information) as does Github.

How do you test the behavior?

I don’t. 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

PDF-i-Vu Pro v7.0 Help - Carrier
Verify that you have the most current version of this document from www.hvacpartners.com ... To set up a BACnet/IP connection in the i-Vu®...
Read more >
App Links `legacy_failure` verification error on Android 12
xml so that the desired App Links are verified in all previous versions of Android. However, the verification no longer works in Android...
Read more >
fetchmail - man pages section 1: User Commands
1 There was no mail awaiting retrieval. · 2 An error was encountered when attempting to open a socket to retrieve mail. ·...
Read more >
FortiWLC Configuration Guide - Amazon AWS
Upgrade the system to a new version of the operating system. ... To reconfigure an existing controller, click Configuration > Devices > Controller...
Read more >
LoggerNet - Campbell Scientific
version of software may not be installed and used on a separate computer ... LoggerNet 3.2 added support for our new CR3000 datalogger....
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