Page MenuHomePhorge

Categories assigned on the server don't show up in the event editor
Closed, ResolvedPublic

Description

I've just tested T1185.

If an event is tagged with a category in web-UI I can see the category in event
description in client, but it doesn't appear under "categories" in event edit.

https://support.kolabsys.com/provider?Action=AgentTicketZoom&TicketID=20856&ArticleID=73095&QueueID=7

Probably broken somewhere in the incidenceeditor?

Details

Ticket Type
Task

Event Timeline

mollekopf raised the priority of this task from 40 to 60.
mollekopf created this task.
mollekopf added a project: Restricted Project.

Can reproduce - via rcm:

  • create new category
  • create a event with that new category tag
  • open in kontact
  • see the category correctly within the view
  • missing the category in the eventeditor
knauss moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Jun 7 2016, 1:29 PM

The problem is that the job do not trigger onTagsReceived:

void IncidenceCategories::checkForUnknownCategories( const QStringList &categoriesToCheck )
{
    Akonadi::TagFetchJob *fetchJob = new Akonadi::TagFetchJob();
    fetchJob->setProperty("categoriesToCheck", categoriesToCheck);
    connect(fetchJob, SIGNAL(tagsReceived(Akonadi::Tag::List)), this, SLOT(onTagsReceived(Akonadi::Tag::List)));
}

The not ended Akonadi::TagFetchJob only occures if no tag is avaiable in Akonadi.
Than TagFetchJob::doHandleResponse is not callled and no timer is triggered that ends the result.

If one tag is avaliable than onTagsReceived is called. If the tag exists, everything works like expected.
If we need to create the tag in background the onTagCreated is called but the visualpart is not updated, because the TagModel has not got the updated directly.

knauss lowered the priority of this task from 60 to 40.Jun 7 2016, 3:43 PM
knauss raised the priority of this task from 40 to 60.
knauss moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.
knauss moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Jun 9 2016, 12:11 PM

Fixed in kdepimlibs 4.13.0.26, kdepim 4.13.0.21

Fixed in kdepim 4.13.0.21, kdepimlibs 4.13.0.26