When using the Enterprise Module Management window to apply datasets, the typical case is selecting an organization where it will be applied.
When searching through the list of Orgs, it shows not only the active ones, but also the inactive ones.
If someone, by any chance, accidentally applies a dataset in an inactive Organization, the following error will be thrown:
These Object ... is new but not writable errors are referencing the system trying to insert elements to an inactive organization, thus it being not writable
Steps to reproduce the error
Login as admin
Go to Organization window
Select the F&B España - Región Sur unmark its Active check
Save
Go to Enterprise Module Management window
In the Organization Selector, pick the F&B España - Región Sur organization and wait a moment for the available datasets to load
Select any dataset and apply it to the Organization
The process will fail, showing an error as the above explained
Required Configurations (if necessary)
Have any module/modules that introduce datasets installed in the environment
Expected behavior
The F&B España - Región Sur Organization should not even be able to be selected after deactivating it.
Error's description
When using the Enterprise Module Management window to apply datasets, the typical case is selecting an organization where it will be applied. When searching through the list of Orgs, it shows not only the active ones, but also the inactive ones. If someone, by any chance, accidentally applies a dataset in an inactive Organization, the following error will be thrown: These Object ... is new but not writable errors are referencing the system trying to insert elements to an inactive organization, thus it being not writable
Steps to reproduce the error
The process will fail, showing an error as the above explained
Required Configurations (if necessary)
Have any module/modules that introduce datasets installed in the environment
Expected behavior
The F&B España - Región Sur Organization should not even be able to be selected after deactivating it.
Affected Version
¿Latest/Specific? Latest Version number: 24.1.4
Solution Design (optional)
Other test cases
Given: When: Then: