-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix incompatibilities with current TYPO3 versions #6
Merged
Lagerregal
merged 2 commits into
andersundsehr:master
from
helhum:pulls/make-compatible
Feb 23, 2017
Merged
Fix incompatibilities with current TYPO3 versions #6
Lagerregal
merged 2 commits into
andersundsehr:master
from
helhum:pulls/make-compatible
Feb 23, 2017
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
helhum
commented
Feb 22, 2017
- Assume root folder for emtpy identifier
- Enforce trailing slash for processing folder
- Fix autoloading fatal error in non composer mode
* Assume root folder for emtpy identifier * Enforce trailing slash for processing folder * Fix autoloading fatal error in non composer mode
To avoid an exception caused by a warning, we must catch a case where it is tried to merge null values.
Thanks for the quick merge! |
Closed
cweiske
added a commit
to mogic-le/aus_driver_amazon_s3
that referenced
this pull request
Dec 4, 2023
When uploading a new file in TYPO3 v11.5.33, most of the times the meta data record has not been created yet when the MetaDataUpdateService is called. This patch creates the meta data record when necessary, preventing the following error: > (1/1) #1476107295 TYPO3\CMS\Core\Error\Exception > PHP Warning: Undefined array key "uid" in typo3/sysext/core/Classes/Resource/Index/MetaDataRepository.php line 197 > Stack trace: > #0 typo3/sysext/core/Classes/Resource/Index/MetaDataRepository.php(197): TYPO3\\CMS\\Core\\Error\\ErrorHandler->handleError() > andersundsehr#1 typo3conf/ext/aus_driver_amazon_s3/Classes/Service/MetaDataUpdateService.php(51): TYPO3\\CMS\\Core\\Resource\\Index\\MetaDataRepository->update() > andersundsehr#2 typo3conf/ext/aus_driver_amazon_s3/Classes/EventListener/AfterFileAddedToIndexEventListener.php(31): AUS\\AusDriverAmazonS3\\Service\\MetaDataUpdateService->updateMetadata() > andersundsehr#3 typo3/sysext/core/Classes/EventDispatcher/EventDispatcher.php(51): AUS\\AusDriverAmazonS3\\EventListener\\AfterFileAddedToIndexEventListener->__invoke() > andersundsehr#4 typo3/sysext/adminpanel/Classes/Service/EventDispatcher.php(41): TYPO3\\CMS\\Core\\EventDispatcher\\EventDispatcher->dispatch() > andersundsehr#5 typo3/sysext/core/Classes/Resource/Index/FileIndexRepository.php(340): TYPO3\\CMS\\Adminpanel\\Service\\EventDispatcher->dispatch() > andersundsehr#6 typo3/sysext/core/Classes/Resource/Index/FileIndexRepository.php(318): TYPO3\\CMS\\Core\\Resource\\Index\\FileIndexRepository->insertRecord() > andersundsehr#7 typo3/sysext/core/Classes/Resource/Index/Indexer.php(84): TYPO3\\CMS\\Core\\Resource\\Index\\FileIndexRepository->addRaw()
cweiske
added a commit
to mogic-le/aus_driver_amazon_s3
that referenced
this pull request
Dec 4, 2023
When uploading a new file in TYPO3 v11.5.33, most of the times the meta data record has not been created yet when the MetaDataUpdateService is called. This patch creates the meta data record when necessary, preventing the following error: > (1/1) #1476107295 TYPO3\CMS\Core\Error\Exception > PHP Warning: Undefined array key "uid" in typo3/sysext/core/Classes/Resource/Index/MetaDataRepository.php line 197 > Stack trace: > #0 typo3/sysext/core/Classes/Resource/Index/MetaDataRepository.php(197): TYPO3\\CMS\\Core\\Error\\ErrorHandler->handleError() > andersundsehr#1 typo3conf/ext/aus_driver_amazon_s3/Classes/Service/MetaDataUpdateService.php(51): TYPO3\\CMS\\Core\\Resource\\Index\\MetaDataRepository->update() > andersundsehr#2 typo3conf/ext/aus_driver_amazon_s3/Classes/EventListener/AfterFileAddedToIndexEventListener.php(31): AUS\\AusDriverAmazonS3\\Service\\MetaDataUpdateService->updateMetadata() > andersundsehr#3 typo3/sysext/core/Classes/EventDispatcher/EventDispatcher.php(51): AUS\\AusDriverAmazonS3\\EventListener\\AfterFileAddedToIndexEventListener->__invoke() > andersundsehr#4 typo3/sysext/adminpanel/Classes/Service/EventDispatcher.php(41): TYPO3\\CMS\\Core\\EventDispatcher\\EventDispatcher->dispatch() > andersundsehr#5 typo3/sysext/core/Classes/Resource/Index/FileIndexRepository.php(340): TYPO3\\CMS\\Adminpanel\\Service\\EventDispatcher->dispatch() > andersundsehr#6 typo3/sysext/core/Classes/Resource/Index/FileIndexRepository.php(318): TYPO3\\CMS\\Core\\Resource\\Index\\FileIndexRepository->insertRecord() > andersundsehr#7 typo3/sysext/core/Classes/Resource/Index/Indexer.php(84): TYPO3\\CMS\\Core\\Resource\\Index\\FileIndexRepository->addRaw()
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.