Page MenuHomekolab.org

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?

Event Timeline

mollekopf assigned this task to knauss.
mollekopf raised the priority of this task from 40 to 60.
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 moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.
knauss lowered the priority of this task from 60 to 40.
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.Jun 9 2016, 12:11 PM

Fixed in kdepimlibs 4.13.0.26, kdepim 4.13.0.21

knauss closed this task as Resolved.Jun 9 2016, 12:26 PM

Fixed in kdepim 4.13.0.21, kdepimlibs 4.13.0.26