Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Problem with categories (<-> tags) #7277

Open
Mike-Sbg opened this issue Feb 14, 2021 · 11 comments
Open

Problem with categories (<-> tags) #7277

Mike-Sbg opened this issue Feb 14, 2021 · 11 comments

Comments

@Mike-Sbg
Copy link

Mike-Sbg commented Feb 14, 2021

I've a strange issue:

When I set a category to any entry in my calender it is not synced.

I tried it, with Thunderbird (TBSYNC), Outlook 365 and NINE (Android App)

The other way round, when I set the categorie / tag in den Webfront-End it is also not synced to the clients

Can somebody help me - what further informations are needed for investigation?

Yours Mike

p.s. in german: Wenn es hilft, kann ich auch gerne auf deutsch schreiben

@lab-at-nohl
Copy link
Member

You should add a log file, level DEBUG, while syncing.

@Mike-Sbg
Copy link
Author

Sorry I'm not familiar with that ... where do I find a documentation for that, or can you please tell me, how to enable the debug mode?

@lab-at-nohl
Copy link
Member

Go to setup.php and activate logging.

@Mike-Sbg
Copy link
Author

Here is the log, I tried to ad the category "Geburtstag" to an entry:

testeng.log

@lab-at-nohl
Copy link
Member

Ok, thanks for the log. Please help me understanding.

  • Is it a personal tag oder system wide (setup via Admin panel)?
  • Does the Role (Admin panel) for the user includes tags for Calendar?
  • Can you add tags to your Calendar if you do it by the Tine 2.0 webui?
  • What client are you using?

To explain my questions: Your log shows the attempt to read and an attempt to update a Calendar entry (related to the tag you mentioned)

013a74 - mike - 2021-02-22T16:30:10+00:00 NOTICE (5): Tinebase_Tags::getTagsById::251 Tag(s) not found or insufficient rights: Array
(
    [0] => Geburtstag
)

@Mike-Sbg
Copy link
Author

  • It is a personal tag
  • Yes the User has the role for personal tags (User has role user and admin)
  • Yes tags can be added via webui (but they are not synced to the client)
  • the client in the log was Tbsync, but the problem also exists in Outlook 365 and with the app nine on android

I hope this helps

@Mike-Sbg
Copy link
Author

Mike-Sbg commented Feb 22, 2021

I tried the following:

I set a tag in the webui ... it will then be synced to the client.

Second setp::

I change the tag in the client and let it sync. The tag is gone in the webui.

@Mike-Sbg
Copy link
Author

Mike-Sbg commented Mar 1, 2021

Did you find a solution or a missconfig on my side?

@lab-at-nohl
Copy link
Member

Did you find a solution or a missconfig on my side?

I have not found the time, yet. Maybe also some one else should investigate. But I can confirm this behaviour in CalDAV (Thundebird lightning). My Exchange client (Android) does not support categories.

@pschuele pschuele changed the title Problem with categories Problem with categories (personal tags) Mar 2, 2021
@pschuele
Copy link
Member

pschuele commented Mar 2, 2021

hm, it looks like that tags never worked correctly (from sync client -> tine). the incoming tag names need to be converted to tine20 tag records, currently an ID is expected (see "NOTICE (5): Tinebase_Tags::getTagsById::251 Tag(s) not found"). but they should work the other way round.

I'll try to fix this when I find some time. it looks like we do not even have a test case for that 😢

But I can confirm this behaviour in CalDAV (Thundebird lightning)

is it also not working via caldav? we should open a separate issue for that, because of the different frontend it uses.

@pschuele pschuele self-assigned this Mar 2, 2021
@pschuele pschuele added the Bug label Mar 2, 2021
@pschuele pschuele added this to To do in Tine 2.0 Development via automation Mar 2, 2021
@Mike-Sbg
Copy link
Author

Mike-Sbg commented Mar 2, 2021

Thank you, When I can help anything, let me know

@pschuele pschuele changed the title Problem with categories (personal tags) Problem with categories (<-> tags) Mar 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Development

No branches or pull requests

3 participants