Skip to content

OC 5.0.3 Non-ASCII chars on file rename->fail #2840

Closed

Description

@Vodochnik

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).

Server: Debian

locale

LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

I did not used Rescan since it's not standart app and is not a solution.

Best regards
Vod

Activity

  1. BernhardPosselt commented on Apr 10, 2013

    @BernhardPosselt
    Contributor

    Please see the contribution guidelines and provide more details ;)

    @blizzz @icewind1991 @DeepDiver1975

  2. Vodochnik commented on Apr 10, 2013

    @Vodochnik
    Author

    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

    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.
    

    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}

  3. VicDeo commented on Apr 10, 2013

    @VicDeo
    Contributor

    Related to #2795 ?

  4. Vodochnik commented on Apr 10, 2013

    @Vodochnik
    Author

    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.

  5. Vodochnik commented on Apr 11, 2013

    @Vodochnik
    Author

    seems to be duplicate of #2170, such serious error since v5.0? O_o

  6. Vodochnik commented on Apr 15, 2013

    @Vodochnik
    Author

    Seems to be fixed in 5.0.4

  7. locked as resolved and limited conversation to collaborators on Aug 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions