Skip to content
Snippets Groups Projects
Commit e0a0643b authored by Oliver Bartsch's avatar Oliver Bartsch
Browse files

[BUGFIX] Only update metadata database row on changes

The @internal update() method of MetaDataRepository
now checks the data to be updated against the current
database row, preventing updating of the records
timestamp in case no actual update needs to be done.

Additionally, the method now returns the database row.

Resolves: #97775
Releases: main, 12.4
Change-Id: I1429605880ec815deb1d6111bc6b1686558b6f5b
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81046


Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarOliver Hader <oliver.hader@typo3.org>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarAndreas Nedbal <andy@pixelde.su>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarAndreas Nedbal <andy@pixelde.su>
parent 2cb2105a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment