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
There appears to be an issue, specifically related to the handling of pimcore.settings['data-definitions-import-definition-writeable']. This parameter is crucial for adding new definitions in the admin UI, but it seems not to be set properly. The probable cause is the absence of an implementation of a SettingsListener which is essential for initializing and setting such parameters.
Steps to Reproduce
Install and configure the w-vision DataDefinitions module on a Pimcore instance.
Navigate to the import or export definition panel, attempting to add a new definition.
Observe the failure or inability to add new definitions.
Expected Behavior
The admin UI should allow the addition of new data definitions seamlessly, with the data-definitions-import-definition-writeable parameter being set correctly.
Actual Behavior
The data-definitions-import-definition-writeable parameter is not set, preventing the addition of new definitions in the admin UI.
Possible Solution
For reference on how other bundles integrate the SettingsListener, see this example in the Pimcore repository: Pimcore CustomReportsBundle SettingsListener Implementation. Implementing a similar SettingsListener in the DataDefinitions module could resolve this issue.
The text was updated successfully, but these errors were encountered:
@twin-elements added a custom settings listener in our app which sets the parameters to true. of course just a workaround, because there needs to be a check of the storage is writeable or not.
Description:
There appears to be an issue, specifically related to the handling of
pimcore.settings['data-definitions-import-definition-writeable']
. This parameter is crucial for adding new definitions in the admin UI, but it seems not to be set properly. The probable cause is the absence of an implementation of a SettingsListener which is essential for initializing and setting such parameters.Steps to Reproduce
Expected Behavior
The admin UI should allow the addition of new data definitions seamlessly, with the
data-definitions-import-definition-writeable
parameter being set correctly.Actual Behavior
The data-definitions-import-definition-writeable parameter is not set, preventing the addition of new definitions in the admin UI.
Possible Solution
For reference on how other bundles integrate the SettingsListener, see this example in the Pimcore repository: Pimcore CustomReportsBundle SettingsListener Implementation. Implementing a similar SettingsListener in the DataDefinitions module could resolve this issue.
The text was updated successfully, but these errors were encountered: