You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary
If I create more than one YAML file in config/actions/ all files are loaded, but only the last one is used.
Steps to reproduce
Create a file called config/actions/file1.yml and define an action for a route. Note that the action appears in the UI for that route. Now create a second file called config/actions/file2.yml and define another action for the same route.
Actual Result
The action defined in file1.yml has disappeared, and only the action define in file2.yml is visible.
Expected Result
Expected that both actions would be visible.
Details about your environment
OroPlatform version: 5.1.x (6.x and master have this issue also)
PHP version: 8.2.12
Database (PostgreSQL) version: 15.4
Additional information
If I have more than one YAML file in the config/actions/ folder all are loaded, but when \Oro\Bundle\ActionBundle\Configuration\ConfigurationProvider assembles them together into a single array, the content of each YAML file overwrites the previous file. The issue occurs in the getRawConfigs function at line 82, as all of the $resources have the same bundleClass (AppKernel).
The text was updated successfully, but these errors were encountered:
Summary
If I create more than one YAML file in
config/actions/
all files are loaded, but only the last one is used.Steps to reproduce
Create a file called
config/actions/file1.yml
and define an action for a route. Note that the action appears in the UI for that route. Now create a second file calledconfig/actions/file2.yml
and define another action for the same route.Actual Result
The action defined in
file1.yml
has disappeared, and only the action define infile2.yml
is visible.Expected Result
Expected that both actions would be visible.
Details about your environment
Additional information
If I have more than one YAML file in the
config/actions/
folder all are loaded, but when\Oro\Bundle\ActionBundle\Configuration\ConfigurationProvider
assembles them together into a single array, the content of each YAML file overwrites the previous file. The issue occurs in thegetRawConfigs
function at line 82, as all of the$resources
have the same bundleClass (AppKernel
).The text was updated successfully, but these errors were encountered: