tine20 / tine20

Tine 2.0 main repository
GNU Affero General Public License v3.0
156 stars 60 forks source link

Problem with categories (<-> tags) #7277

Open Mike-Sbg opened 3 years ago

Mike-Sbg commented 3 years ago

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 commented 3 years ago

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

Mike-Sbg commented 3 years ago

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 commented 3 years ago

Go to setup.php and activate logging.

Mike-Sbg commented 3 years ago

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

testeng.log

lab-at-nohl commented 3 years ago

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

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 commented 3 years ago

I hope this helps

Mike-Sbg commented 3 years ago

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 commented 3 years ago

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

lab-at-nohl commented 3 years ago

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 commented 3 years ago

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 :cry:

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.

Mike-Sbg commented 3 years ago

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