core icon indicating copy to clipboard operation
core copied to clipboard

Shared icon disappears on Firefox

Open rperezb opened this issue 13 years ago • 16 comments

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

  1. Log in Firefox
  2. Create a folder
  3. Upload something to this folder
  4. Select to share this folder with another user
  5. Refresh the web
  6. 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

rperezb avatar Apr 04 '13 08:04 rperezb

@MTGap @icewind1991

BernhardPosselt avatar Apr 09 '13 10:04 BernhardPosselt

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?

hcderaad avatar Apr 09 '13 13:04 hcderaad

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 ?

btreguier avatar Apr 12 '13 13:04 btreguier

Check this issue with version":"5.0.6","versionstring":"5.0.5 RC1 and it´s still happening

rperezb avatar Apr 18 '13 16:04 rperezb

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.

JacekZ avatar Apr 20 '13 06:04 JacekZ

Sorry. No it doesnt work :\

JacekZ avatar Apr 20 '13 22:04 JacekZ

#3295 shared icons are shown, if files_version app is deactivated

konradop avatar May 26 '13 07:05 konradop

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

fernandoruiz avatar Jun 04 '13 12:06 fernandoruiz

I've got this behavior with OC 5.0.6 and 5.0.7RC1 on a Debian Wheezy.

lafdez avatar Jun 06 '13 16:06 lafdez

confirming @konradop: when deactivating files_versioning the icon appears.

butonic avatar Jun 28 '13 14:06 butonic

+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

beyondthewall avatar Jul 24 '13 14:07 beyondthewall

the problem is on ff OC.Share.loadIcons get loaded first before inserting the fileactions span

redknight101 avatar Aug 07 '13 09:08 redknight101

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.

wohnjayne avatar Feb 21 '15 16:02 wohnjayne

Just found the solution on the calendar bug tracker, disabling the ad block plus extension in FF lets the icon re-appear. cheers

wohnjayne avatar Feb 21 '15 16:02 wohnjayne

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.

stanelie avatar Mar 08 '16 21:03 stanelie

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.

lock[bot] avatar Aug 05 '19 17:08 lock[bot]