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

An event for everyone #6954

Open
tvannahl opened this Issue Nov 2, 2018 · 5 comments

Comments

Projects
None yet
4 participants
@tvannahl
Contributor

tvannahl commented Nov 2, 2018

Summary

Beforehand: This problem only affects one of our users.

  • Login as specific user
  • Open any contact within any addressbook
  • Select tab Events
  • Users sees one event that is not related to the contact, it is the same event on every contact.

This event has two users attending, but only one of those users has this problem. I am looking for ideas about how/where to look for more detailed information.

Steps to reproduce

I have no clue, how this bug came into existence.

Expected behavior

To see the event only on the two contacts that are actually attending the event.

Actual behavior

The event is shown for every contact regardless if he is invited/attending or not.

@paulmhh

This comment has been minimized.

Contributor

paulmhh commented Nov 4, 2018

thanks for the report.

could you turn on debug logging for that user and have him select the "event" tab? you should see something like this in the log file:

5ed0e 846b8 vagrant - 2018-11-04T00:27:35+00:00 DEBUG (7): Tinebase_Server_Json::_logRequests::218 is JSON request. rawdata: array ( 0 => array ( 'jsonrpc' => '2.0', 'method' => 'Calendar.searchEvents', 'params' => array ( 'filter' => array ( 0 => array ( 'field' => 'query', 'operator' => 'contains', 'value' => '', 'id' => 'ext-record-1', ), 1 => array ( 'field' => 'attender', 'operator' => 'in', 'value' => array ( 0 => array ( 'user_type' => 'user', 'user_id' => array ([.....]

[.....]5ed0e 846b8 vagrant - 2018-11-04T00:27:35+00:00 INFO (6): Tinebase_Log::logUsageAndMethod::246 FILE: index.php METHOD: Tinebase_Server_Json::Calendar.searchEvents
it would be helpful to see the full log, the part which i cut out with [...]

@tvannahl

This comment has been minimized.

Contributor

tvannahl commented Nov 8, 2018

I've got here the full searchEvents call where only user data is anonymised.

tine20-searchEvents.log

@pschuele

This comment has been minimized.

Member

pschuele commented Nov 9, 2018

do you have the config "fixedCalendars" set? we use that for a holiday calendar. i think, they should be removed from the resultset in the contact events tab.

@tvannahl

This comment has been minimized.

Contributor

tvannahl commented Nov 15, 2018

No fixedCalendars is not set.

@pschuele

This comment has been minimized.

Member

pschuele commented Nov 16, 2018

hm, very strange. there must be something wrong with the event (or attendee). the search filter looks good to me. maybe @corneliusweiss has an idea?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment