Avata Suljettu

Blazor Server Unhandled Exception upstream on page refresh (F5) #7164


User avatar
0
rcalv002 luotu
  • ABP Framework version: v8.1.1
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue
  • :
  1. Generate a new project using blazor-server ui.
  2. Add a page, in the constructor, inject IUiPageProgressService
  3. Refresh this page via reload or F5 on browser
  4. Yellow error message banner at the bottom of the screen and error message in console


7 Vastaus (t)
  • User Avatar
    0
    liangshiwei luotu
    Tukitiimi Fullstack Developer

    I will check it.

  • User Avatar
    0
    liangshiwei luotu
    Tukitiimi Fullstack Developer

    Hi,

    I could not reproduce the problem.

    Could you share a simple project with me? shiwei.liang@volosoft.com thanks.

  • User Avatar
    0
    rcalv002 luotu

    Hello,

    Perhaps I'm using this incorrectly. I have mailed you the project.

    Load it up, log in, go to the page /Index2 and refresh.

  • User Avatar
    0
    liangshiwei luotu
    Tukitiimi Fullstack Developer

    Hi,

    Yes, at the moment, the UiPageProgress component has not been loaded yet

  • User Avatar
    0
    rcalv002 luotu

    Thanks for your response, is this something wrong on my side or in component?

  • User Avatar
    0
    liangshiwei luotu
    Tukitiimi Fullstack Developer

    You can call the IUiPageProgressService in the class instead of page.

  • User Avatar
    0
    rcalv002 luotu

    So not supported in the page then?

Made with ❤️ on ABP v8.2.0-preview Updated on maaliskuuta 25, 2024, 15.11