Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP Exception 500: "CC-BY" is not a valid backing value for enum App\Enum\LicenseType (View: /var/www/html/Lychee/resources/views/livewire/pages/gallery/album.blade.php) #2392

Closed
2 tasks done
mniemela opened this issue Apr 19, 2024 Discussed in #2391 · 1 comment · Fixed by #2393
Labels
bug Something isn't working

Comments

@mniemela
Copy link

Discussed in #2391

Originally posted by mniemela April 17, 2024

Lychee version

v4.13.0
v5.2.0

Which PHP version are you using?

PHP 8.2

Detailed description of the problem

I just upgraded from Lychee 4.8.1 to 5.2.0 and I get this error when trying to access old folders.

image

Steps to reproduce the issue

  1. Upgrade from Lychee 4.8.1 to 5.2.0 with some old names for licences in some folders
  2. After migration, go to an old folder with old licence name. Error should be visible.

If you upgrade to Lychee 4.13.0 you get "Internal server error" -banner instead of the error listed here. Lychee 4.12.0 works fine, so I guess this is introduced by the change to enum-based licence?

Diagnostics [REQUIRED]

No errors visible in diagnostics.

Browser & System [REQUIRED]

Edge & Windows 11

Please confirm (incomplete submissions will not be addressed)

  • I have provided easy and step-by-step instructions to reproduce the bug.
  • I understand my bug report will be removed if I haven't met the criteria above.
@ildyria ildyria added the bug Something isn't working label Apr 19, 2024
@ildyria
Copy link
Member

ildyria commented Apr 19, 2024

Can you try this #2393 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants