Page MenuHomePhorge

testcase-11914: K-W-010203 Termin mit Zeitbelegung mit Teilnehmern aus einer Gruppe erstellen
Closed, ResolvedPublic13 Story Points

Assigned To
Authored By
mollekopf
May 26 2015, 2:04 PM
Tags
  • Restricted Project
  • Restricted Project
  • Restricted Project
  • Restricted Project
Referenced Files
None
Subscribers

Details

Ticket Type
Task

Event Timeline

mollekopf added a project: Restricted Project.
mollekopf subscribed.
  • Create event and invite a group from ldap (LocalUsers)
  • Click on "Substitute with group members"
  • Remove two participants
  • Save event and ensure the correct participants are invited

"Substitute with group members" is greyed out after adding the group

mollekopf moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Jun 2 2015, 10:28 AM
petersen raised the priority of this task from 60 to High.Jun 5 2015, 12:23 PM
petersen set Ticket Type to Task.
petersen added a project: Restricted Project.
mollekopf moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Jun 5 2015, 2:23 PM

Probably because we're missing the ldap resource.

mollekopf moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Jun 5 2015, 3:34 PM

"Substitute with group members" only using groups inside addressbook, for this feature we need the akonadi ldap resource, that translate ldapgroups to addressbook groups. It does not ask directly ldap.

mollekopf added a project: Restricted Project.Jul 6 2015, 1:08 PM
petersen moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.
petersen removed a subscriber: knauss.

discussed with christian: if it works with ldap resource, we can close this issue

unfortunatelly at the moment the "Substitute with group members" does not get active if a group gets added.

with D29 the button "select attendees.." buttons works and expand groups directly.

When simply entering "LocalUsers" in the attendeelist the ContactGroupSearchJob returns no result. Maybe it is a baloo issue.

the search string looks valid from first look:

korganizer-1431355191-SearchSession (0x7f6bd00172d0) 2 SEARCH MIMETYPE (application/x-vnd.kde.contactgroup) QUERY "{ \"limit\" : -1, \"negated\" : false, \"rel\" : 0, \"subTerms\" : [ { \"cond\" : 0, \"key\" : \"name\", \"negated\" : false, \"value\" : \"LocalUsers\" } ] }" FULLPAYLOAD EXTERNALPAYLOAD (UID COLLECTIONID FLAGS SIZE REMOTEID REMOTEREVISION DATETIME) 
korganizer-1431355191-SearchSession (0x7f6bd00172d0) 2 OK Search done

The problem is that baloo do not act with the correct mimetye:

 1 SEARCH MIMETYPE (text/directory) QUERY "{ \"limit\" : -1, \"negated\" : false, \"rel\" : 1, \"subTerms\" : [ { \"cond\" : 5, \"key\" : \"name\", \"negated\" : false, \"value\" : \"Local\" } ] }" (UID) 
* 13 SEARCH (UID 13 REV 0 MIMETYPE "application/x-vnd.kde.contactgroup" COLLECTIONID 8) 
1 OK Search done

and with the correct mimetype:

1 SEARCH MIMETYPE (application/x-vnd.kde.contactgroup) QUERY "{ \"limit\" : -1, \"negated\" : false, \"rel\" : 1, \"subTerms\" : [ { \"cond\" : 5, \"key\" : \"name\", \"negated\" : false, \"value\" : \"Local\" } ] }" (UID) 
 1 OK Search done

Adding the ContactGroup mimetype to the collections fixes issue. I created a pull request for that:

https://github.com/kolab-groupware/akonadi-ldap-resource/pull/1

knauss moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Jul 8 2015, 12:46 PM

akonadi-ldap-resource pull request was merged

knauss moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.

reviewed & merged