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
it´s not possible to save at readonly and alwaysSave
we can change to
foreach ($propertyValues as $property => $value) {
try {
if (!$properties->hasProperty($property)) {
continue;
}
$extra = $properties->getProperty($property)->getExtra();
// Don´t save value if isset property readonly.
if (empty($extra['readonly'])) {
$model->setProperty($property, $value);
}
// If always save is true, we need to mark the model as changed.
if (!empty($extra['alwaysSave'])) {
$model->setMeta($model::IS_CHANGED, true);
}
} catch (\Exception $exception) {
$propertyValues->markPropertyValueAsInvalid($property, $exception->getMessage());
}
}
but MetaModels work different between create and save - look at MetaModels/core#1158
The text was updated successfully, but these errors were encountered:
* hotfix/beta-40:
Hotfix #350 save alias or combined values if readonly and force alias
Hotfix #342 set standard at sortgroup
Add GitHub templates (closes#304)
# Conflicts:
# src/Controller/DefaultController.php
# src/Data/DefaultDataProvider.php
as additional to #319
it´s not possible to save at readonly and alwaysSave
we can change to
but MetaModels work different between create and save - look at MetaModels/core#1158
The text was updated successfully, but these errors were encountered: