Ticket modified by Philipp - at 2011/03/23 19:44
Tracking System: Bugs
Category: Calendar
Version: Version 1.8.001
Status: Closed
Resolution: Fixed
Completed: 100%
Priority: 5 - medium
Created By: Philipp -
Created on: 2011/03/22 10:28
Assigned to: Ralf Becker
Summary: #2906 - Calendar filter ‘hideprivate’ works like 'showonlypublic’
Dear Developers!
About two months ago I used the ‘hideprivate’ filter to print out my calendar without private informations, but including the private events for blocking the time.
Now hideprivate works exactly like showonlypublic: Removing the private events completely from the calendar.
Tested with Opera and Firefox (both last Version)
EGroupware Version 1.8.001 (updates nightly per SVN)
PHP Version 5.3.3: apache2handler
Bug can be repeated in the Demo.
With kind regards,
Philipp
Comment by Philipp - at 2011/03/23 19:44:
Hi Nathan, Hi Ralf,
For the ITIL KPIs:
I updated my eGroupWare and everything works as expected.
Perfect customer satisfaction.
Thank you very much!
With kind regards,
Philipp
Comment by Ralf Becker at 2011/03/23 09:24:
This bug is fixed in our subversion repository now.
You can update via subversion with the following commands:
cd /path/to/egroupware
svn update * # mind the */asterisk
To check if you have svn installed try running svn version. To install the svn command under Linux install the package "subversion". For Windows you can use eg. TortoiseSVN (http://tortoisesvn.tigris.org).
Hi Nathan,
checked it and remove the if clause completly, as it is unnecessary (calendar_so::search() already removed private events for filter "showonlypublic"). My goal is to remove all unset(); --$total from calendar_bo::search(), as they mess up list-view and prevent using the groupdav_iterator.
Ralf
Hi Philipp,
bug is now fixed in svn for all branches. It will be in the 1.8 snapshot from tomorrow on and in the next 1.8 maintenance release.
Ralf
Comment by Nathan Gray at 2011/03/22 17:03:
Hi Ralf,
would you mind double-checking in trunk that this is right now?
If ok, I’ll backport it.
Thanks
SVN r34325.
Comment by Ralf Becker at 2011/03/22 13:09:
Hi Nathan,
seems like the "filter" hideprivate is interpreted wrong. It should in fact return all events to bo and bo masks out the private information.
Can you have a look please.
Ralf
linked entries:
http://www.egroupware.org/egroupware/index.php?menuaction=tracker.tracker_ui.edit&tr_id=2906&no_popup=1