Skip to content

Latest version does not handle exceptions on fetching svg icons #2210

@dougmaitelli

Description

@dougmaitelli

Current Behavior

If an invalid svg icon is defined at the generic-oidc provider an exception is thrown at the login page and the dashboard becomes inaccessible.

[previous exception] [object] (BladeUI\\Icons\\Exceptions\\SvgNotFound(code: 0): Svg by name \"pocketid\" from set \"default\" not found. at /var/www/pelican/vendor/blade-ui-kit/blade-icons/src/Exceptions/SvgNotFound.php:13)

Expected Behavior

Login page should handle exceptions and load

Steps to Reproduce

  • Use generic-oidc plugin
  • Configure an invalid icon for the provider
  • Try to open login page

Panel Version

v1.0.0-beta32

Wings Version

v1.0.0-beta23

Games and/or Eggs Affected

No response

Docker Image

No response

Error Logs

[previous exception] [object] (BladeUI\\Icons\\Exceptions\\SvgNotFound(code: 0): Svg by name \"pocketid\" from set \"default\" not found. at /var/www/pelican/vendor/blade-ui-kit/blade-icons/src/Exceptions/SvgNotFound.php:13)

Is there an existing issue for this?

  • I have searched the existing issues before opening this issue.
  • I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server.
  • I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    not confirmedNot yet verified or reproduced by maintainers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions