-
Notifications
You must be signed in to change notification settings - Fork 3
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
Error with activity river when not logged in #5
Comments
Also happens in the brainstorm menu section itself. Edit: deleting the old and creating a new "under review" item creates the same error. Maybe it is due to the fact that the brainstorm item was created in a closed group and with restricted view options? |
Ok, I think it might be related to the fact that in the git version I am using the "access level control" dropdown box is missing, and thus the new ideas in the closed group automatically get the accesslevel "public", but then are obviously only accessible by users that are member of the original closed group, or something like that. |
Thank's for your feedback ! I want to know which version of Elgg you use ? |
I am using version 1.8.14. Will try the new git version :) |
ONLY PARTIALLY FIXED :( The activity/river view bug seems to have been fixed now, but is shows ideas from invisible groups (I think that's a group_tools plugin feature?) which is not quite perfect... and I just noticed that clicking on the link of that idea (of the closed group) then also still redirects you to a error (same as below). However the /brainstorm/all page still breaks for non logged-in users: Fatal error: Call to a member function canWriteToContainer() on a non-object in /home/XXX/public_html/Elgg/mod/elgg-brainstorm/views/default/object/idea.php on line 114 I guess an standard elgg "access" dropdown would be nice to have (and will probably fix quite a few issues), so that certain idea are only visible to group-members etc. The admin panel should also have plugin settings page to set a standard for displaying the separated tabs etc. instead of having to set it for every group individually would be great (my site has over 400 groups). Last but not least: It still needs an "brainstorm:filter:finished" entry in the language file. In the settings view a lot of language file parts are also missing (in en.php at least). Keep up the great work! When the issues are fixed, this will be an extremely nice plugin for elgg! |
The problem with the river comes from the fact that the object idea is public so it will display the river activity log to everyone but as it needs to be nested in a group if the user is not part of the group it can't access it and the error comes again. (and editidea.php) another change needed is for every river view file (completed, declined, open, planned, started, under_review) : if($container){ I noticed as well that another member of a group can't change the status of its own idea if he is not admin... So as we just changed the permission to all members of the group only, we can now delete the verification in the form edit idea.php So after those changes, only the user that can edit in the group receive the river log and they can access the idea and edit it. hope it helps |
I am using the git version, but when I am not logged in and visit the activity page this happens:
Fatal error: Call to a member function getURL() on a non-object in /home/XXXXX/public_html/Elgg/mod/elgg-brainstorm/views/default/river/object/brainstorm/under_review.php on line 27
Seems to be a result of the changes in the under-review tab or so...
Thanks for fixing it.
The text was updated successfully, but these errors were encountered: