nextcloud/apps/files/tests
Daniel Calviño Sánchez f29c1cf13a Fix empty details view after renaming a file
"FileList._updateDetailsView" expects either a file name (as a string)
or a file model (as an "OCA.File.FileInfoModel"), but when called
through "updateInList" an "OC.Files.FileInfo" object was given instead.
As the given attribute was not a model "_updateDetailsView" treated it
as a file name and tried to get the model for that file, which failed
and caused the details view to be emptied.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-01-11 02:47:11 +01:00
..
Activity Update license headers 2017-11-06 16:56:19 +01:00
BackgroundJob Update license headers 2017-11-06 16:56:19 +01:00
Command Use ::class in test mocks of encryption app 2017-10-26 13:56:56 +02:00
Controller Update license headers 2017-11-06 16:56:19 +01:00
Service Add events for favorites 2018-01-10 11:20:21 +01:00
Settings Update license headers 2017-11-06 16:56:19 +01:00
js Fix empty details view after renaming a file 2018-01-11 02:47:11 +01:00
HelperTest.php Update license headers 2017-11-06 16:56:19 +01:00