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

Duplicate sidebar items when running via Laravel Octane (Swoole) #88

Open
superwave1999 opened this issue Jul 4, 2023 · 3 comments
Open

Comments

@superwave1999
Copy link

Hello!

I'm using Orchid for my project and I decided to install Laravel Octane.

Swoole is my preferred runner, but duplicate menu items appear for the CRUD resources.

image

I tested running my project using roadrunner instead and under roadrunner the issue does not appear to be present.

@tabuna
Copy link
Member

tabuna commented Jul 4, 2023

Hi @superwave1999 It's strange that RoadRunner doesn't have this issue since the cleaning mechanism should be the same. Please specify the versions of the software (Swoole/OpenSwoole/PHP/Laravel/Package) so that I can reproduce it.

@superwave1999
Copy link
Author

Good afternoon!
Here are my versions:

  • PHP 8.2.7
  • Swoole 5.0.3
  • laravel/framework v10.13.5
  • laravel/octane v2.0.1
  • orchid/crud 4.0.1
  • orchid/platform 14.4.0

@superwave1999
Copy link
Author

Just ran some updates, and the issue still persists:

  • laravel/framework: v10.14.1
  • orchid/platform: 14.5.0

The configuration file octane.php is the same as a fresh install of octane, no modifications are made.
If you reload the page quickly enough, you will see that the list of resources has 1 to 3 copies varying by reload.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants