Shared icon disappears on Firefox
Expected behaviour
Although we refresh the web, the "shared" icon should be kept
Actual behaviour
After refreshing in Firefox, the logo disappears.
Steps to reproduce
- Log in Firefox
- Create a folder
- Upload something to this folder
- Select to share this folder with another user
- Refresh the web
- The shared icon disappears, however, the folder is still shared
Server configuration
"version":"5.0.3","versionstring":"5.0.3" OpenSuse 12.1
Client configuration
Browser: Fiirefox
Operating system: Mac 10.7.5
Logs
Web server error log
[error] [client 192.168.1.203] File does not exist: /srv/www/htdocs/favicon.ico
ownCloud log (data/owncloud.log)
Error search_lucene need mimetype for content extraction April 4, 2013 10:46
Debug core include path for class "OCA_FirstRunWizard\Config" starts with "apps/" April 4, 2013 10:52
Debug core Adding user backend instance of OC_User_Database. April 4, 2013 10:52
Browser log
After clicking on shared
Fecha y hora: 04/04/13 10:46:55
Error: TypeError: OC.Share.statuses[itemSource] is undefined
Archivo de origen: http://192.168.1.23/owncloud/remote.php/core.js?285e19f20beded7d215102b49d5c09a0
Línea: 474
@MTGap @icewind1991
I actually can confirm the Shared icon isnt always loaded in Firefox, in Chrome it is. The problem is sometimes it is loaded, sometimes it isnt.
But i dont think its the picture thats the problem, it seems that Firefox not always loads the Sharing status right and as a consequence of that, the image (and the text Shared) is or isnt loaded.
When checking the status an ajax request is done, ie: http://localhost/owncloud/index.php/core/ajax/share.php?fetch=getItemsSharedStatuses&itemType=file
Which returns a json string: {"data":{"6":{"link":false,"path":"/shared.txt"}},"status":"success"}
Once every few page reloads this doesnt result in a visible shared resource (the share however stays configured correctly), the only trouble here is that with Firebug enabled (FF 20.0 with Firebug 1.11.2) the sharedstatus always works, no errors in apache log or owncloud log, so this is very random behaviour.
Perhaps a template issue somewhere?
I'm also seeing this buggy behaviour here, and despite what @hcderaad says, for me it's the same even with FF 20.0 & Firebug 1.11.2 activated. I'm not that used to Firebug however, so unfortunately I'm having a hard time trying to see where the problem lies. :-/
Still willing to help though, so any clue as where to look ?
Check this issue with version":"5.0.6","versionstring":"5.0.5 RC1 and it´s still happening
In OC 5.0.5, it sems to work well (FF 20.0.1) :) In previous release I also noticed this issue, but now is ok.
Sorry. No it doesnt work :\
#3295 shared icons are shown, if files_version app is deactivated
I have reproduced this issue with the version owncloud5.0.6.beta_enterprise and the following configuration:
Server configuration Operating system: Ubuntu 12.04 Web server: Apache Database: SQLite or MySQL PHP version: 5.3.10 ownCloud version: 5.0.6_beta_enterprise
Client configuration Browser: Firefox 21.0 Windows 7
I've got this behavior with OC 5.0.6 and 5.0.7RC1 on a Debian Wheezy.
confirming @konradop: when deactivating files_versioning the icon appears.
+1 for oc 5.0.9 on a ubuntu 12.04 64bit, apache2, mysql (but only with firefox)
edit: i am using firefox 22.0
the problem is on ff OC.Share.loadIcons get loaded first before inserting the fileactions span
A similar thing happens in the calendar app with FF35.0.1 on Ubuntu 14.04, using OC 7.0.4
I can see the icons for CalDavLink, Download, Edit, and Delete.
In Chromium, I can see the Sharing icon as well.
Just found the solution on the calendar bug tracker, disabling the ad block plus extension in FF lets the icon re-appear. cheers
This issue came back for me on ownCloud 9, it was not a problem on 8.2.2. Disabling AdBlock Plus fixes the issue for me on Firefox.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.