Comments (25)
is it reproduceable?
from kolabnotes-android.
Yes, reproducible.
I noticed the following main differences in the XML:
Note by Roundcube: note version="3.0dev1"
Note by app: note version="3.0"
Note by Roundcube: in description's head section: meta name="qrichtext" content="1" /
Note by app: in description's head section: meta name="kolabnotes-richtext" content="1" /
obviously also the prodid differs:
Roundcube-libkolab-1.1 Libkolabxml-1.1
kolabnotes-android
I have not checked any IMAP related flags.
The "mail body" of Roundcube-created notes has no line breaks (all text in a single line) when viewing from Thunderbird while there are 4 lines in notes created by the app. Maybe a problem with special characters?
from kolabnotes-android.
maybe special characters, can you send me the kolab.xml file? do you have the problem with any note you create with the app?
from kolabnotes-android.
This happens also when editing an existing note. Steps:
- create a note in Roundcube
- note shows up in Roundcube and (after sync) in the app
- edit the note with the app
- after sync the note is invisible in Roundcube, but visible via IMAP (i.e. Thunderbird)
from kolabnotes-android.
I played around a bit with the HeaderTools Lite Addon for Thunderbird which allows viewing and complete editing of stored IMAP objects.
When copying the content of a visible note into the defective one and only changing the subject back to the defective note's subject, the defective note shows up in Roundcube.
Since there are a lot of differences in the header, multipart encoding and things like line breaks in the stored Kolab XML, I didn't manage to track the issue down to a certain header field or whatever, but a systematic walkthrough should give a result.
At least we can say it's apparently not an issue of some obscure IMAP flags.
from kolabnotes-android.
In the subject, there must be the uid of the note. Is the UID of a defect note, in the subject and in the XML file the same or different?
from kolabnotes-android.
Mail subject and uid in the XML are identical on a defective note.
During playing around, when an edited defective note was visible in Roundcube, that note consisted of the full content and header data of a correct note, but it's subject was the one from the defective note.
So in the case when it showed up, the UIDs actually were not identifical between subject and XML.
from kolabnotes-android.
please test the fourth preview, i have made some changes in the sync algorithmus. I cannot reproduce this problem :-(
from kolabnotes-android.
No change for me with the fourth preview.
New notes from the app are still visible in Thunderbird, but not in Roundcube
from kolabnotes-android.
Btw. when I look into Roundcube's Settings -> Folders it say 15 messages in the notes folder. 15 messages is also what I see from Thunderbird. Still I only see 9 notes...
from kolabnotes-android.
This is so strange. I had not the time yet to set up a kolab server on my own. I use my KolabNow account for testing. Maybe notes are handled a little bit different in the Kolab version of KolabNow and on Kolab 3.3. Can you please ask a Kolab mailinglist, if there is a difference?
from kolabnotes-android.
I'm just digging deep into Kolab's PHP code to track down where the 15 notes become 9.
If I get lost, I'll follow your advice ;-)
from kolabnotes-android.
Thank you very much, I must say, I have no idea what the problem could be... If you need information, how my sync library sets information, just contact me or look in the kolabnotes-java source ;-)
from kolabnotes-android.
I kind of found it.
There's a cache table for each Kolab object within the Roundcube MySQL database.
The table "kolab_cache_note" holds only the 9 messages I see in Roundcube...
Now got to find out why the cache is not updated when IMAP storage is changed externally.
This is either a major bug in the Kolab main distribution or a configuration issue.
from kolabnotes-android.
I filed an issue agains the Roundcubemail Kolab plugins in Kolab's Bugzilla:
https://issues.kolab.org/show_bug.cgi?id=5109
The problem even persists when I turn off Kolab caching in Roundcube's configuration.
Since I don't want to fiddle around with caching code on my production server, I'll leave that to the Kolab devs.
That is, if there is no option the app can force Kolab including Roundcube into a cache sync. But I don't see one atm.
from kolabnotes-android.
@konradrenner Can you provide some info into the Kolab Bugzilla issue? That issue has been changed to NEEDINFO state.
Though you can't reproduce the issue, it might be a good idea to communicate directly with the guys over there, like in "syncing the data needs syncing the developers" ;-)
from kolabnotes-android.
@lhitc I don't have an account for the Kolab Bugzilla. Maybe you can ask in the issue, if there is a difference between KolabNow and your Kolab version in the notes handling? Can you turn on debug logs on your kolab server and then sync the app with the server, maybe there is some output?
from kolabnotes-android.
Works for me on Kolab Now, btw.
from kolabnotes-android.
@greve Yes, the issue is definitely related to the kolab_notes plugin for Roundcube. Unfortunately, Roundcube is the default frontend of the distribution ...
from kolabnotes-android.
I know. But what I am saying is that when I use my Kolab Now account, and create a note on my Android, then sync against the server, I see the note in the Kolab Notes Web Application on Kolab Now.
from kolabnotes-android.
@lhitc have you added the question if there is an difference between Kolab Now Web UI and "standard Roundcube"?
from kolabnotes-android.
@lhitc I think this problem is handled in the issue you created, is it ok for you to close the issue here on GitHub?
from kolabnotes-android.
@konradrenner If you mean the Kolab bugtracker issue https://issues.kolab.org/show_bug.cgi?id=5109 : we're not getting further over there.
They seem to expect some debug information but I have no idea how to provide it.
Basically it's Roundcube's cache that is not updating, but I don't know whether there is any API call to force that which might be added to the app (or whether there is a simple configuration issue in my installation).
I would be glad if you could talk to them directly...
from kolabnotes-android.
I have added a comment in the Kolab bugzilla issue. I think this issue should be handled there.
from kolabnotes-android.
The Kolab devs have now identified it as a bug in libkolab, so definitely no issue here.
from kolabnotes-android.
Related Issues (20)
- Kolab Notizen v3.2.0 - Disabling the "Enable Rich Text Editor" feature, making this application suddenly stop HOT 7
- Kolab Notizen v3.2.0 - Clicking on the widget to enter the application can make this application suddenly stop HOT 4
- Kolab Notizen v3.2.0 - The application suddenly stopped when I added a few pictures when making notes HOT 3
- Kolab Notes - Design Patterns - Thesis Survey HOT 2
- Disable shared notebooks by default HOT 1
- NOT_LOADED notes with IMAP sync HOT 4
- thankful 4 HOT 1
- Apps crashes when rotate device HOT 2
- App crashes when rotating devices HOT 2
- App crashes when rotating devices HOT 2
- Can't sync with imap HOT 10
- NotesBook HOT 1
- Unable to sync with mailbox.org IMAP HOT 10
- Note closes (or app crashes?) when I type % HOT 1
- pt-rBR Bug HOT 3
- Screenshots for F-Droid HOT 1
- Edit drawing after it was stored HOT 1
- cant sync with posteo notes HOT 1
- Bug Report: Drawing multiple lines does not register and causes the app to draw dots
- Bug: Selecting text and applying a header style mistakenly formats the entire line instead of just the highlighted section.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kolabnotes-android.