You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OC 5.0.3 Non-ASCII chars on file rename->fail #2840
Upload test.txt file.
rename it to test_я.txt ('я' is russian char)
now, on file system it's correct renamed, in web interface it still appears as test.txt (unable to download or delete).
Rename file from test.txt to test_я.txt without errors.
Actual behaviour
File is renamed in file system but still appears in web interface with old name "test.txt" and cannot be deleted or renamed.
Steps to reproduce
Install 5.0.3
upload file (can be empty) with filename test.txt
rename file, just add "_я", so test.txt beсomes test_я.txt
file is not renamed, now try to delete it. Check filesystem, file is renamed.
Web server error log
n/a
ownCloud log (data/owncloud.log)
{"app":"PHP","message":"filesize(): stat failed for /data/admin/files/test.txt at /public_html/lib/files/storage/local.php#74","level":2,"time":1365604879}
{"app":"PHP","message":"filesize(): stat failed for /data/admin/files/test.txt at /public_html/lib/files/storage/local.php#74","level":2,"time":1365604879}
{"app":"PHP","message":"copy(/data/admin/files/test.txt): failed to open stream: No such file or directory at /public_html/lib/files/storage/local.php#140","level":2,"time":1365604879}
{"app":"PHP","message":"filemtime(): stat failed for /data/admin/files/test.txt at /public_html/lib/files/storage/local.php#92","level":2,"time":1365604879}
{"app":"PHP","message":"Undefined variable: collectionTypes at /public_html/lib/public/share.php#918","level":2,"time":1365604879}
Activity
BernhardPosselt commentedon Apr 10, 2013
Please see the contribution guidelines and provide more details ;)
@blizzz @icewind1991 @DeepDiver1975
Vodochnik commentedon Apr 10, 2013
http://owncloud.org/dev/contribute, no guidelines for bugreport :-)
But i'll try :))
Expected behaviour
Rename file from test.txt to test_я.txt without errors.
Actual behaviour
File is renamed in file system but still appears in web interface with old name "test.txt" and cannot be deleted or renamed.
Steps to reproduce
Server configuration
Operating system: Debian GNU/Linux 6.0
Web server: apache2-mpm-itk 2.2.16-6+squeeze11
Database: MySQL
PHP version: libapache2-mod-php5 5.3.3-7+squeeze15
ownCloud version: 5.0.3
Client configuration
Browser: Firefox 20
Operating system: WinXP
Logs
Web server error log
n/a
ownCloud log (data/owncloud.log)
{"app":"PHP","message":"filesize(): stat failed for /data/admin/files/test.txt at /public_html/lib/files/storage/local.php#74","level":2,"time":1365604879}
{"app":"PHP","message":"filesize(): stat failed for /data/admin/files/test.txt at /public_html/lib/files/storage/local.php#74","level":2,"time":1365604879}
{"app":"PHP","message":"copy(/data/admin/files/test.txt): failed to open stream: No such file or directory at /public_html/lib/files/storage/local.php#140","level":2,"time":1365604879}
{"app":"PHP","message":"filemtime(): stat failed for /data/admin/files/test.txt at /public_html/lib/files/storage/local.php#92","level":2,"time":1365604879}
{"app":"PHP","message":"Undefined variable: collectionTypes at /public_html/lib/public/share.php#918","level":2,"time":1365604879}
VicDeo commentedon Apr 10, 2013
Related to #2795 ?
Vodochnik commentedon Apr 10, 2013
Thanks, i've seen this issue but was thinking the prob is cyrillic chars related.
Now, i have tried to create folder and to rename it (test->test1). Same behavior.
Vodochnik commentedon Apr 11, 2013
seems to be duplicate of #2170, such serious error since v5.0? O_o
Vodochnik commentedon Apr 15, 2013
Seems to be fixed in 5.0.4