hypery2k / owncloud

In this repo you'll find apps and enhancements for owncloud
Other
156 stars 85 forks source link

Share links not working when enabled for specific groups #352

Closed skywalker666 closed 7 years ago

skywalker666 commented 9 years ago

When the plugin is enabled only for specific groups, share links don't work anymore. You still get the layout, but with empty content. Nothing specific seems to be logged. More information can be provided if needed. Enabling the plugin for all users works as desired.

mckaygerhard commented 9 years ago

hi, please which plugin, here are two, storagecharts and roundcube, and please, can enable debbugin and provide log backtrace with detailed info of environment.. thanks in advance

hypery2k commented 9 years ago

can you please post any logs when specific groups are enabled?

can you please retry the latest nightly build?

https://martinreinhardt-online.de/jenkins/job/OwnCloud_nightly/

skywalker666 commented 9 years ago

Okay, the app ist roundcube. Unfortunately even with debugging turned on, nothing is logged. To reproduce the problem:

  1. Enable plugin roundcube for selected groups
  2. Open any public share link (in another browser)
  3. The file list stays empty, Layout is shown. The button to switch to the gallery does not work and the link contains something like undefined.

When I disable the plugin, or enable for all users everything works as expected. I tried the latest nightly build which has the same behavior.

skywalker666 commented 9 years ago

Here is my list of installed plugins:

Enabled:

Current owncloud version 8.1.3 on CentOS 7 with php-5.4.16-36.el7_1.x86_64 .

mckaygerhard commented 9 years ago

i'll indicate how to made some usefully info in u'r setup (i do not test due i'm not used oc 8 neithet 7)

in a clean install with only oc and rc related plugins, using chrome << 38 (chrome 40+ has cache problems): 1) go to oc and enable debug log level or more verbose 2) restart all services 3) enable php debug log 4) run rm -rf var/www/oc/data/owncloud.log (or any path to oc install u setup) 5) activate plugin rc 6) follow the steps to reproduce 7) WHEN ERROR APPEARS DO NOT CLICK ANY ONTHER LINK, hit F12 8) copy and feedback console error (last tab 9) go to the server (do not click any other link) and copy all content of data/owncloud.log ...and post feedback

please when post the feedback post with format inside "´" as markdown to email can process and hyper2k can view too

hypery2k commented 8 years ago

I've got no idea why this is happening

mckaygerhard commented 8 years ago

this are happening only whot the new api, due many calls to private functions.. since OC 8.1 developers started to deprecated some calls making privates and then in OC 8.2 making deprecated. Now many apps in oc store are unusable... Ok good for OC developers made some organizations on code, but just now! uff. Its too late for that!

mckaygerhard commented 7 years ago

close this due OC 8 changes too many things, need too recent PHP version and are very slower..

i cannot reproduce in OC 7 that works perfectly