Comments (6)
SabreDAV 1.6.4 works now. I had an error in my apache configuration. It was blocking PUT requests.
SabreDAV 1.7.1 doesn't work. I did a little debugging and found out that SabreDAV throws an execption because the vcard the cardDAV plugin tries to send does not contain an UID. This is required by the standard. The UID validation came in with this commit:
evert/SabreDAV@4e11b8e
This issue was fixed in the myroundcube fork, see
http://myroundcube-plugins.40634.n3.nabble.com/cardDAV-Adding-new-contacts-using-SabreDAV-td4024337.html
from roundcube-carddav.
This issue also kills "add new contact" for a baikal server (based on sabreDAV).
I can confirm that the carddav_backend.php from the latest myroundcube fork fixed this for baikal too.
I think someone should attempt to include the fix here.
from roundcube-carddav.
This error occurs in all SabreDAV based caldav and carddav servers up to SabreDAV versions 1.6.3-stable (2012-06-12): https://github.com/evert/SabreDAV/blob/1.6/ChangeLog Line:35
from roundcube-carddav.
Hello! I have the same bug! I can do to fix it? Thank!
from roundcube-carddav.
As I understand the code a newly generated card does include an UID. However, and that is not the problem of this RC plugin, generating the UUID outside of the carddav server is wrong. The card should be send to the server without an UID using a POST request - not PUT (PUT is for updating a ressource, not creating it). The server itself should then generate that UID, create the record with that UID and send the UID back to the caller.
Now, I use plugin version 0.5.2 with RC 0.9.2 and I still can't create new cards... Sometimes I can't even update a card due to the same error message. If I would find some time to debug this I probably find the reason why this happens ;)
from roundcube-carddav.
I added a pull request which adds the missing UID to the vcard right before it is uploaded to the server.
If you use postgres (as I do) you may probably would like to update your round cube's "config/db.inc.php" reflecting the name of your carddav_contacts sequence
$rcmail_config['db_sequence_carddav_contacts'] = 'carddav_contacts_carddav_contact_id_seq';
As long as I ignored that the vcard was uploaded but RC still reports an error. Now the error is gone but I now have a blank region where the new vcard data should be displayed. In both cases, after reloading the page the contact shows up ;)
from roundcube-carddav.
Related Issues (20)
- sqlite HOT 3
- Error while saving new contact HOT 2
- Seems not working with roundcube 1.0.0 HOT 10
- Unable to connect to the database after activate plugin HOT 7
- syntax error: unexpected "(" HOT 1
- Concats view in roundcube 1.0.1 broken HOT 1
- $preset['active'] is 't' instead of an integer.
- Can't write to davical server HOT 1
- Many contacts not synchronized HOT 1
- Type error when calling `carddav_addressbook_sync` from `carddav_add`
- IMAP Credentials as login to Carddavserver HOT 1
- Roundcube 1.0.2 HOT 4
- No Contacts seen with Roundcube 1.0.3 HOT 4
- single quote character in password not possible
- allow password change
- addressbook in RC 1.1.0 not visible HOT 1
- Sync failed
- At deleting
- Is this project Dead ? HOT 2
- sync ldap addressbook
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 roundcube-carddav.