Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
0d86fa90
Commit
0d86fa90
authored
Aug 25, 2014
by
webchick
Browse files
Issue
#2320253
by yched: Fixed FIC/FSC::preSave() do not call the parent implementation.
parent
53b72740
Changes
2
Hide whitespace changes
Inline
Side-by-side
core/modules/field/src/Entity/FieldInstanceConfig.php
View file @
0d86fa90
...
...
@@ -160,10 +160,8 @@ public function preSave(EntityStorageInterface $storage) {
// Notify the entity storage.
$entity_manager
->
getStorage
(
$this
->
entity_type
)
->
onFieldDefinitionUpdate
(
$this
,
$this
->
original
);
}
if
(
!
$this
->
isSyncing
())
{
// Ensure the correct dependencies are present.
$this
->
calculateDependencies
();
}
parent
::
preSave
(
$storage
);
}
/**
...
...
core/modules/field/src/Entity/FieldStorageConfig.php
View file @
0d86fa90
...
...
@@ -242,10 +242,8 @@ public function preSave(EntityStorageInterface $storage) {
else
{
$this
->
preSaveUpdated
(
$storage
);
}
if
(
!
$this
->
isSyncing
())
{
// Ensure the correct dependencies are present.
$this
->
calculateDependencies
();
}
parent
::
preSave
(
$storage
);
}
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment