Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nextcloud 14 : Can not see files or directory in main windows. if a file named with % !! #11695

Closed
Bschalck opened this issue Oct 9, 2018 · 6 comments
Labels
Milestone

Comments

@Bschalck
Copy link

Bschalck commented Oct 9, 2018

Hello,

I have a problem since update to nextcloud 14.

Server : debian 8 Jessie 64bits / apache2 / php7 / url : http://nextcloud.devloprog.org

Problem :

  • When I connect with my user, I can not see files or directory in main windows => I only see the loading icon
  • If I click to the Recent, I can see files and directory
  • If I connect with another one, it is OK , all files/directory appear

I have no log in error log, apache log or nextcloud log...

@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #6726 (no nextcloud/data/ directory), #11449 (Nextcloud do not working such as creating folder, directory, deleting files, uploading files), #3571 (Unexpected "No such file or directory" in nextcloud.log), #5438 (Nextcloud won't upload larger files), and #10208 (Testing Nextcloud 14.).

@Bschalck
Copy link
Author

Hy,

I found the bug : I had a file name XX_0%.docx . If I change the name without '%', it works !

XX_0%.docx renamed to test.docx => Works
test.docx renamed to XX_0%.docx => Works too on the page.

but if I refresh the page, it doesn't work anymore ... the character '%' seems to be the source of error !

@Bschalck Bschalck changed the title Nextcloud 14 : Can not see files or directory in main windows. Nextcloud 14 : Can not see files or directory in main windows. if a file named with % !! Oct 10, 2018
@burned42
Copy link
Contributor

Hi, I think I found the bug. I opened #11744 to fix this.

@MorrisJobke
Copy link
Member

Fixed in #11744

@icrdr
Copy link

icrdr commented Dec 13, 2018

Hi, Bschalck.
I meet the same problem that no files or directory showed in main window but loading icon keeping rotating forever.
I checked your url given above. It seems you fixed it. what did you do?

@Bschalck
Copy link
Author

Bschalck commented Dec 14, 2018

Hi,
I saw your create an account on my service :)
I will look at my changes and will tell you what I've done to fix it

Edit : I am not sure of what I've done , but can you look at the file core/js/files/client.js

if (path.charAt(path.length - 1) === '/') {
				path = path.substr(0, path.length - 1);
			}
 ===> here was a line a deleted : path = decodeURIComponent(path);
			if (response.propStat.length === 0 || response.propStat[0].status !== 'HTTP/1.1 200 OK') {
				return null;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants