plugin icon indicating copy to clipboard operation
plugin copied to clipboard

[Bug]: "Root" module not showing in Code Generation with a Laravel project under a directory

Open martylamoureux opened this issue 2 years ago • 2 comments

Bug description

A project have his Laravel code in a src directory.

When enabling modules with "Simple directory" mode, and "Allow app root module ..." checked, we should expect to have the "Root app module" in the Module selection list when using Code Generation, but we only see the defined modules.

Plugin version

7.4.3.232

Operating system

MacOS

Steps to reproduce

  • Create a directory
  • Spawn a new Laravel project in the "src" project
  • Open the root directory in PhpStorm
  • Make sure the plugin "General" settings have src for the Laravel directory
  • Setup the Module System in the plugin as "Simple directory modules", and leave app/Domain for the path, and check "Allow app root module in code generation dialogs"
  • Create a module Test
  • Create module OtherTest
  • You should only have "Test" and "OtherTest" in the module selection, where "Root app module" is missing.

Relevant log output

No response

martylamoureux avatar Nov 13 '23 13:11 martylamoureux

Confirmed this bug, no Root module selection in code generation options even if checked on plugin settings. plugin version: 8.1.2.233 PhpStorm version: 2023.3.4 #PS-233.14475.35 OS: Linux

jfeid avatar Mar 05 '24 09:03 jfeid

Fixed. Sorry for the inconvenience. A new update will be released soon. In the next week, probably.

adelf avatar Mar 13 '24 14:03 adelf

Fixed in 8.1.4. Thank you.

adelf avatar May 01 '24 15:05 adelf