server/lib/private
Jan-Philipp Litza 0b066d9297 Fix 500 Internal Server Error on writing
In some not yet completely determined configurations, the following error could occur while writing a file:

Error: Call to a member function getUsers() on null
    /var/www/nextcloud/lib/private/Share20/Manager.php - line 1277: OC\Share20\DefaultShareProvider->getAccessList(Array, true)
    /var/www/nextcloud/lib/private/Share20/ShareHelper.php - line 51: OC\Share20\Manager->getAccessList(Object(OC\Files\Node\Folder), true, true)
    /var/www/nextcloud/apps/activity/lib/FilesHooks.php - line 616: OC\Share20\ShareHelper->getPathsForAccessList(Object(OC\Files\Node\File))
    /var/www/nextcloud/apps/activity/lib/FilesHooks.php - line 196: OCA\Activity\FilesHooks->getUserPathsFromPath('/path/to/file', 'user')
    /var/www/nextcloud/apps/activity/lib/FilesHooks.php - line 157: OCA\Activity\FilesHooks->addNotificationsForFileAction('/path/to/file', 'file_changed', 'changed_self', 'changed_by')
    /var/www/nextcloud/apps/activity/lib/FilesHooksStatic.php - line 55: OCA\Activity\FilesHooks->fileUpdate('/path/to/file')
    /var/www/nextcloud/lib/private/legacy/hook.php - line 106: OCA\Activity\FilesHooksStatic fileUpdate(Array)
    /var/www/nextcloud/lib/private/Files/View.php - line 1245: OC_Hook emit('OC_Filesystem', 'post_update', Array)
    /var/www/nextcloud/lib/private/Files/View.php - line 1173: OC\Files\View->runHooks(Array, '/path/to/file', true)
    /var/www/nextcloud/lib/private/Files/View.php - line 679: OC\Files\View->basicOperation('file_put_conten...', '/path/to/file', Array, '<?xml version="...')
    /var/www/nextcloud/lib/private/Files/Node/File.php - line 64: OC\Files\View->file_put_contents('/path/to/file', '<?xml version="...')
    [...]

Signed-off-by: Jan-Philipp Litza <janphilipp@litza.de>
2017-06-16 11:38:22 +02:00
..
Accounts Remove account data on user deletion 2017-05-15 13:31:31 +02:00
Activity Change the order on merging activities so the newest item is first 2017-03-28 17:19:34 +02:00
App Version and dependency are now required 2017-05-22 09:54:44 +02:00
AppFramework add new config switched for the global scale architecture 2017-05-29 18:19:28 +02:00
Archive replace close:// streamwrapper with CallBackWrapper 2017-01-06 15:33:32 +01:00
Authentication Merge pull request #4894 from nextcloud/generic-security-activities 2017-05-19 00:50:44 +02:00
BackgroundJob Add duration of last job execution to the table 2017-04-25 17:39:58 +02:00
Cache support pushing to CappedMemoryCache 2017-03-30 11:21:32 +02:00
Command
Comments a parameter too much 2017-06-14 14:41:30 +02:00
Console Fixed typo 2017-05-19 15:58:13 +02:00
Contacts/ContactsMenu Do not show an email action for contacts with emtpy email addresses 2017-05-02 14:12:04 +02:00
DB Add console command to migrate the charset 2017-04-28 09:35:36 +02:00
Diagnostics Fix missing conflict resolutions 2017-04-26 17:05:59 +02:00
Encryption don't try to encrypt/decrypt the certificate bundle 2017-06-13 09:50:45 +02:00
Federation Fix DI of the cloud id manager into apps 2017-02-14 12:47:46 +01:00
Files Fixed a crash caused by Local::copyFromStorage() not conforming to Common::copyFromStorage. Issue# 5071 2017-05-23 10:29:30 -04:00
GlobalScale add new config switched for the global scale architecture 2017-05-29 18:19:28 +02:00
Group filter missing groups in share provider 2017-06-12 15:46:19 +02:00
Hooks
Http/Client Rebrand to "Nextcloud" and add 100% coverage 2017-01-02 14:51:16 +01:00
IntegrityCheck Remove ownCloud Root Authority as per todo 2017-03-22 08:54:40 +01:00
L10N Don't force the use of Accept-Language anymore 2017-04-07 11:10:04 +02:00
legacy Merge pull request #4993 from michaelletzgus/emit_css-tags 2017-06-14 11:29:25 -05:00
Lock
Lockdown Remove unused use statements 2017-04-22 19:23:31 -05:00
Log Use constants 2017-04-13 12:04:32 -05:00
Mail Allow to overwrite the email template again 2017-06-06 14:23:03 +02:00
Memcache Do not scan for keys just get all the keys (with prefix) 2017-05-16 09:52:05 +02:00
Migration Adding tests for 4 byte unicode characters 2017-03-21 16:42:12 -06:00
Notification
OCS add tests for discovery service 2017-04-11 15:04:01 +02:00
Preview Add PHPDoc 2017-05-02 13:43:47 +02:00
Repair added kml, kmz, tcx types as well while at it 2017-06-14 11:02:05 +02:00
RichObjectStrings
Route Check whether the $_SERVER['REQUEST_*'] vars exist before using them 2017-05-15 14:33:27 +02:00
Search
Security Automatic creation of Identity manager 2017-05-10 09:45:11 +02:00
Session Forward port of #5190 to master 2017-06-15 11:20:49 +02:00
Settings Rename “Server settings” to “Basic settings” 2017-04-29 17:13:21 +02:00
Setup fix install on mb4 enabled mariadb/mysql 2017-06-01 13:44:18 +02:00
Share Remove OC_Group call 2017-05-15 14:52:40 +02:00
Share20 Fix 500 Internal Server Error on writing 2017-06-16 11:38:22 +02:00
SystemTag Remove unused use statements 2017-04-22 19:23:31 -05:00
Tagging
Template Set SCSS dependencies to memcache on compile 2017-05-21 22:10:00 +02:00
Updater Remove unused use statements 2017-04-22 19:23:31 -05:00
User emit changeUser only if there really was a change (quota, displayname) 2017-06-01 11:34:17 +02:00
AllConfig.php Merge pull request #3023 from nextcloud/issue-2915-filter-out-sensitive-appconfigs 2017-01-17 11:01:42 +01:00
AppConfig.php Make sure the spreed TURN server secret stays a secret 2017-01-17 11:29:10 +01:00
AppHelper.php
Avatar.php
AvatarManager.php
CapabilitiesManager.php
Config.php Fix escaped HTML on error pages 2017-05-08 21:16:08 -05:00
ContactsManager.php
DatabaseException.php
DatabaseSetupException.php
DateTimeFormatter.php
DateTimeZone.php
ForbiddenException.php
HintException.php
HTTPHelper.php
Installer.php Remove OC_App:installApp 2017-05-15 00:03:35 -05:00
LargeFileHelper.php
Log.php Remove unused use statements 2017-04-22 19:23:31 -05:00
NaturalSort.php
NaturalSort_DefaultCollator.php
NavigationManager.php Allow to specify the id 2017-03-26 23:07:54 +02:00
NeedsUpdateException.php
NotSquareException.php
PreviewManager.php Add PHPDoc 2017-05-02 13:43:47 +02:00
PreviewNotAvailableException.php
RedisFactory.php no ternary 2017-03-25 21:25:38 -06:00
Repair.php Add a migration step to save the data from the accounts table before migrating 2017-05-18 10:48:54 +02:00
RepairException.php
Search.php
Server.php Merge pull request #4892 from nextcloud/fix/encryption-remembered-login-hook 2017-05-17 22:21:09 +02:00
ServerContainer.php Fix missing argument 2 for Settings classes 2017-05-19 22:32:50 +02:00
ServerNotAvailableException.php
ServiceUnavailableException.php
Setup.php Don't redirect requests to /core/img/manifest.json 2017-05-09 00:02:37 +02:00
Streamer.php Revert "Always enable Zip64 extension for zipstreamer" 2017-06-09 10:21:26 +02:00
SubAdmin.php Fix CamelCasing 2017-01-18 11:45:26 +01:00
SystemConfig.php Fix tests 2017-01-12 10:49:22 +01:00
TagManager.php
Tags.php
TemplateLayout.php Responsive app menu 2017-04-25 17:31:24 +02:00
TempManager.php
Updater.php Fix updating from some 11 versions when people didn't update 2017-05-18 10:49:04 +02:00
URLGenerator.php Theme image for favicon-fb.png 2017-06-09 21:12:37 +02:00