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

No label for Collection when using a second locale. #1735

Open
aizensoosuke opened this issue May 9, 2024 · 0 comments
Open

No label for Collection when using a second locale. #1735

aizensoosuke opened this issue May 9, 2024 · 0 comments
Labels
1.x bug Something isn't working

Comments

@aizensoosuke
Copy link

  • Lunar version: 1.0.0-alpha.17
  • Laravel Version: 11.7.0
  • PHP Version: 8.3.6
  • Database Driver & Version: mysql Ver 8.0.32 for Linux on x86_64 (MySQL Community Server - GPL)

Expected Behaviour:

When a collection does not have a name in english, but has a name in another language, then that name should be shown. That is especially true if the other language is the default language.

Actual Behaviour:

The collection has no label in the hub and is thus not editable.

Steps To Reproduce:

  • Fresh install of laravel (I use the sail version, curl -s "https://laravel.build/project-name" | bash -.
  • Fresh install of lunarphp (setup the model, the panel, install meilisearch/meilisearch-php, run lunar:install)
  • Go to the hub and create a second language (for example Français - fr). Set it as default.
  • Go to collections, main collection, and create a root collection (for example, "Collection"). Do not click the "locales" button so that only a french label is created.
  • The collection as no label, and is not editable

image

@aizensoosuke aizensoosuke added bug Something isn't working unconfirmed labels May 9, 2024
@glennjacobs glennjacobs added the 1.x label May 20, 2024 — with Linear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.x bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants