Skip to content

Fix mantis 23143#1

Open
lieblb wants to merge 10000 commits intobheyser:trunkfrom
lieblb:fix-mantis-23143
Open

Fix mantis 23143#1
lieblb wants to merge 10000 commits intobheyser:trunkfrom
lieblb:fix-mantis-23143

Conversation

@lieblb
Copy link

@lieblb lieblb commented Jan 10, 2019

Hallo Björn, das hier behebt https://mantis.ilias.de/view.php?id=23143.

Die Änderung basiert auf dem aktuellen Trunk, und weil - wie tel. besprochen - Dein Trunk nicht aktuell ist, ist der Change groß. Effektiv ist es - ohne die Trunkänderungen der anderen - nur diese Änderung:

88b355a

Hintergrund des Problems ist preg_replace, das $1 u.ä. mit gespeicherten Werten ersetzt. Vgl. auch http://php.net/manual/de/function.preg-replace.php:

replacement darf Referenzen in der Form \n oder $n enthalten, wobei Letztere vorzuziehen ist. Jede dieser Referenzen wird mit dem Text ersetzt, der vom n-ten eingeklammerten Suchmuster erfasst wurde

Daher ergibt echo preg_replace('/birne/', 'kirsch$1e', 'eine birne'); eben eine kirsche und nicht eine kirsch$1e.

Niels Theen and others added 30 commits November 30, 2018 13:28
[Mail] Create Value Object for mail body and purifier to ensure sanitized data
… erscheint, obwohl noch kein Inhalt vorhanden ist
…ion_guide

ILIAS 5.4 installation guide

More job must be done and provided via PR.
alex40724 and others added 25 commits January 4, 2019 23:23
Co-Authored-By: Amstutz <timon.amstutz@gmail.com>
Co-Authored-By: Amstutz <timon.amstutz@gmail.com>
Co-Authored-By: Amstutz <timon.amstutz@gmail.com>
Co-Authored-By: Amstutz <timon.amstutz@gmail.com>
Co-Authored-By: Amstutz <timon.amstutz@gmail.com>
Co-Authored-By: Amstutz <timon.amstutz@gmail.com>
Docu: General Pattern of Reviews for Code Contributions
…art of an assignment: -blog-download-submission-
bheyser pushed a commit that referenced this pull request Jan 11, 2019
…ions

Certificate: Migration refactorings
bheyser pushed a commit that referenced this pull request Apr 29, 2019
bheyser pushed a commit that referenced this pull request Aug 14, 2019
Aligning coding standard between PHPStorm and PHP-CS-Fixer
bheyser pushed a commit that referenced this pull request Jul 17, 2020
bheyser pushed a commit that referenced this pull request Jul 17, 2020
…n object that implements Countable

Fixing error by using ldap-user-sync.

replace debug message after checking for an array

ERROR-LOG:

ilCronManager::runJob:95 count(): Parameter must be an array or an object that implements Countable
ilCronManager::runJob:95 #0 ILIAS_PATH/Services/Init/classes/class.ilErrorHandling.php(461): Whoops\Run->handleError(2, 'count(): Parame...', 'ILIAS_PATH...', 387)
#1 ILIAS_PATH/Services/LDAP/classes/class.ilLDAPQuery.php(387): ilErrorHandling->handlePreWhoops(2, 'count(): Parame...', 'ILIAS_PATH...', 387, Array)
#2 ILIAS_PATH/Services/LDAP/classes/class.ilLDAPQuery.php(131): ilLDAPQuery->fetchGroupMembers()
#3 ILIAS_PATH/Services/LDAP/classes/class.ilLDAPCronSynchronization.php(87): ilLDAPQuery->fetchUsers()
#4 ILIAS_PATH/Services/Cron/classes/class.ilCronManager.php(178): ilLDAPCronSynchronization->run()
#5 ILIAS_PATH/Services/Cron/classes/class.ilCronManager.php(95): ilCronManager::runJob(Object(ilLDAPCronSynchronization), Array, true)
#6 ILIAS_PATH/Services/Cron/classes/class.ilCronManagerGUI.php(282): ilCronManager::runJobManual('ldap_sync')
#7 ILIAS_PATH/Services/Cron/classes/class.ilCronManagerGUI.php(64): ilCronManagerGUI->confirmedRun()
#8 ILIAS_PATH/Services/UICore/classes/class.ilCtrl.php(210): ilCronManagerGUI->executeCommand()
#9 ILIAS_PATH/Modules/SystemFolder/classes/class.ilObjSystemFolderGUI.php(152): ilCtrl->forwardCommand(Object(ilCronManagerGUI))
ILIAS-eLearning#10 ILIAS_PATH/Services/UICore/classes/class.ilCtrl.php(210): ilObjSystemFolderGUI->executeCommand()
ILIAS-eLearning#11 ILIAS_PATH/Services/Administration/classes/class.ilAdministrationGUI.php(250): ilCtrl->forwardCommand(Object(ilObjSystemFolderGUI))
ILIAS-eLearning#12 ILIAS_PATH/Services/UICore/classes/class.ilCtrl.php(210): ilAdministrationGUI->executeCommand()
ILIAS-eLearning#13 ILIAS_PATH/Services/UICore/classes/class.ilCtrl.php(175): ilCtrl->forwardCommand(Object(ilAdministrationGUI))
ILIAS-eLearning#14 ILIAS_PATH/ilias.php(20): ilCtrl->callBaseClass()
ILIAS-eLearning#15 {main}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.