crud icon indicating copy to clipboard operation
crud copied to clipboard

Duplicate sidebar items when running via Laravel Octane (Swoole)

Open superwave1999 opened this issue 2 years ago • 3 comments

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.

superwave1999 avatar Jul 04 '23 00:07 superwave1999

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.

tabuna avatar Jul 04 '23 01:07 tabuna

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 avatar Jul 06 '23 16:07 superwave1999

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.

superwave1999 avatar Jul 06 '23 16:07 superwave1999