[GH-ISSUE #26] Files are displayed as folders (icon) #21

Closed
opened 2026-02-25 21:31:00 +03:00 by kerem · 3 comments
Owner

Originally created by @N1co93 on GitHub (Jun 25, 2020).
Original GitHub issue: https://github.com/ciur/papermerge/issues/26

First of all great work :)

I just installed papermerge and noticed, that my files are displayed as folders. The icon seems to be wrong.
I installed it today via Docker with this documentation: https://papermerge.readthedocs.io/en/latest/setup/docker.html

Here you can see an example:

image

Do you need more information?

Originally created by @N1co93 on GitHub (Jun 25, 2020). Original GitHub issue: https://github.com/ciur/papermerge/issues/26 First of all great work :) I just installed papermerge and noticed, that my files are displayed as folders. The icon seems to be wrong. I installed it today via Docker with this documentation: https://papermerge.readthedocs.io/en/latest/setup/docker.html Here you can see an example: ![image](https://user-images.githubusercontent.com/59510296/85781001-84541f80-b725-11ea-8b49-215db80d9cbf.png) Do you need more information?
Author
Owner

@ciur commented on GitHub (Jun 26, 2020):

I know the problem. I will provide a fix in couple of days. I think your Browser localization language is German. A quick workaround is to open application in English localized browser. I know it sounds weird. Bug is that decision to style node as folder or file is made by something like this:

if node.human_name similar to  "document" :
    this is document
  else:
    this is folder

In case of German localization node.human_name is "Dokument" - which does not match word "Document".
Anyway, as I mentioned before I will fix code so that it won't depend on localization.

Thank you for your feedback!

<!-- gh-comment-id:650056364 --> @ciur commented on GitHub (Jun 26, 2020): I know the problem. I will provide a fix in couple of days. I think your Browser localization language is German. A quick workaround is to open application in English localized browser. I know it sounds weird. Bug is that decision to style node as folder or file is made by something like this: ``` if node.human_name similar to "document" : this is document else: this is folder ``` In case of German localization node.human_name is "Dokument" - which does not match word "Document". Anyway, as I mentioned before I will fix code so that it won't depend on localization. Thank you for your feedback!
Author
Owner

@N1co93 commented on GitHub (Jun 26, 2020):

Thank you for your explanation :)

<!-- gh-comment-id:650070928 --> @N1co93 commented on GitHub (Jun 26, 2020): Thank you for your explanation :)
Author
Owner

@ciur commented on GitHub (Jun 28, 2020):

Fix is now available in v1.2.3. You basically need to:

$ cd papermerge-proj/docker
$ docker-compose up -d

again. Docker compose will pull version v1.2.3 which includes above fix.

<!-- gh-comment-id:650739154 --> @ciur commented on GitHub (Jun 28, 2020): Fix is now available in v1.2.3. You basically need to: ``` $ cd papermerge-proj/docker $ docker-compose up -d ``` again. Docker compose will pull version v1.2.3 which includes above fix.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/papermerge#21
No description provided.