[korganizer] [Bug 283954] Only resources can modify remote revisions

2013-08-26 Thread Cyrille Berger
https://bugs.kde.org/show_bug.cgi?id=283954

Cyrille Berger cber...@cberger.net changed:

   What|Removed |Added

 CC||cber...@cberger.net

--- Comment #21 from Cyrille Berger cber...@cberger.net ---
I just had the bug with KOrganizer Version 4.10.2 on debian/testing.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[korganizer] [Bug 283954] Only resources can modify remote revisions

2013-06-02 Thread davidblunkett
https://bugs.kde.org/show_bug.cgi?id=283954

davidblunkett dav1dblunk...@hotmail.com changed:

   What|Removed |Added

 CC||dav1dblunk...@hotmail.com

--- Comment #20 from davidblunkett dav1dblunk...@hotmail.com ---
Still there for me 4.10.2

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[korganizer] [Bug 283954] Only resources can modify remote revisions

2013-05-31 Thread Bas Roufs
https://bugs.kde.org/show_bug.cgi?id=283954

Bas Roufs basro...@gmail.com changed:

   What|Removed |Added

 CC||basro...@gmail.com

--- Comment #18 from Bas Roufs basro...@gmail.com ---
The bug reported here is still present  in Kubuntu 13.10 along with KDE 4.10.2. 
For those who use the Akonadi Calendar Resource, there is a useful
workaround. 
Simply bring in the event and especially its description in the agenda web
interface of your google/ gmail account. I have created a .txt file with Kate
and worked out there the description - a programme of a meeting. Then, I
copy-pasted everthing at my online Google calendar, after which it also
appeared in Kontact-Calendar. 

Respectfully yours,

Bas G. Roufs.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[korganizer] [Bug 283954] Only resources can modify remote revisions

2013-05-31 Thread Bas Roufs
https://bugs.kde.org/show_bug.cgi?id=283954

--- Comment #19 from Bas Roufs basro...@gmail.com ---
(In reply to comment #18)
 The bug reported here is still present  in Kubuntu 13.10 along with KDE
 4.10.2. 
 For those who use the Akonadi Calendar Resource, there is a useful
 workaround. 
 Simply bring in the event and especially its description in the agenda web
 interface of your google/ gmail account. I have created a .txt file with
 Kate and worked out there the description - a programme of a meeting. Then,
 I copy-pasted everthing at my online Google calendar, after which it also
 appeared in Kontact-Calendar. 
 
 Respectfully yours,
 
 Bas G. Roufs.

ERRATUM. 
At present, I work with the platform Kubuntu 13.04 - not yet 13.10 :-).  
To be honest, I do not understand why this bug has been qualified as fixed -
it is still there. However, the workaround summarised here, works well 
enough for me.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 283954] Only resources can modify remote revisions

2012-11-09 Thread Yuriy Vidineev
https://bugs.kde.org/show_bug.cgi?id=283954

--- Comment #17 from Yuriy Vidineev adeptsm...@gmail.com ---
On kubuntu 12.10/KDE 4.9.3 I have this issue yet

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 283954] Only resources can modify remote revisions

2012-10-07 Thread Dan Vrátil
https://bugs.kde.org/show_bug.cgi?id=283954

Dan Vrátil dvra...@redhat.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
   Version Fixed In||4.9.3
 Resolution|--- |FIXED
  Latest Commit||http://commits.kde.org/kdep
   ||imlibs/2be280f91c1baa81e3ae
   ||e3d029b0c507515fb0d5

--- Comment #16 from Dan Vrátil dvra...@redhat.com ---
Git commit 2be280f91c1baa81e3aee3d029b0c507515fb0d5 by Dan Vrátil.
Committed on 07/10/2012 at 12:48.
Pushed by dvratil into branch 'KDE/4.9'.

Correctly update Item's remoteRevision in Akonadi::Item::apply()
REVIEW: 106710
FIXED-IN: 4.9.3

M  +1-1akonadi/item.cpp

http://commits.kde.org/kdepimlibs/2be280f91c1baa81e3aee3d029b0c507515fb0d5

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 283954] Only resources can modify remote revisions

2012-10-02 Thread Lukas Schneiderbauer
https://bugs.kde.org/show_bug.cgi?id=283954

Lukas Schneiderbauer lukas.schneiderba...@gmail.com changed:

   What|Removed |Added

 CC||lukas.schneiderbauer@gmail.
   ||com

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 283954] Only resources can modify remote revisions

2012-10-02 Thread Dan Vrátil
https://bugs.kde.org/show_bug.cgi?id=283954

Dan Vrátil dvra...@redhat.com changed:

   What|Removed |Added

 CC||dvra...@redhat.com

--- Comment #14 from Dan Vrátil dvra...@redhat.com ---
*** Bug 307728 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 283954] Only resources can modify remote revisions

2012-10-02 Thread Dan Vrátil
https://bugs.kde.org/show_bug.cgi?id=283954

--- Comment #15 from Dan Vrátil dvra...@redhat.com ---
The issue is reproducible on any resource that uses remote revisions. You don't
even need to modify the event, it's enough when the resource fetches changes
from remote server, which lead to update of remote revision of the modified
event.

I spent some time tonight trying to find out what's wrong, this is what I got
to:

The problem is that CalendarSupport::Calendar caches Akonadi::Items but is not
notified about update of their remote revisions. When a resource changes remote
revision of an item in Akonadi, the change is not propagated to
CalendarSupport::Calendar (and thus to it's cache). When user tries to modify
such an out-of-sync event, IncidenceEditorNg creates an Akonadi::ModifyJob for
Akonadi::Item which has an old remote revision and  Akonadi evaluates it as an
attempt to change the remote revision and refuses to continue.

This is reproducible for example with the Google Calendar resource. The Akonadi
resource in itemChanged() handler sends update to server, waits for reply and
then calls

  Akonadi::Item item = reply-request()-property( Item
).valueAkonadi::Item()
  item.setRemoteRevision( event-getRemoteRevision() );
  changeCommitted( item );

which effectively changes remote revision of the item and submits it to Akonadi
(by confirming that the update was successful).

However! When Akonadi::EntityTreeModel::dataChanged(QModelIndex
leftTop,QModelIndex rightBottom) is emitted (atm I don't know whether it's
emitted before changeComitted() is called from the resource or after), the
Akonadi::Item obtained from the leftTop index has the _OLD_ remote revision.

So, the root cause is probably that remote revision of the Akonadi::Item in the
model is not updated when it changes in Akonadi, or that the change does not
cause the model to emit dataChanged() and so clients are not notified about it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 283954] Only resources can modify remote revisions

2012-09-19 Thread m00nraker
https://bugs.kde.org/show_bug.cgi?id=283954

m00nraker m00nra...@gmx.net changed:

   What|Removed |Added

 CC||m00nra...@gmx.net

--- Comment #13 from m00nraker m00nra...@gmx.net ---
Confirmed, 4.9.1 still buggy :-(

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 283954] Only resources can modify remote revisions

2012-09-17 Thread Yuriy Vidineev
https://bugs.kde.org/show_bug.cgi?id=283954

--- Comment #12 from Yuriy Vidineev adeptsm...@gmail.com ---
JFYI: KDE 4.9.1. This bug is still with us

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 283954] Only resources can modify remote revisions

2012-09-17 Thread Myriam Schweingruber
https://bugs.kde.org/show_bug.cgi?id=283954

Myriam Schweingruber myr...@kde.org changed:

   What|Removed |Added

Version|4.9 |4.9.1

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 283954] Only resources can modify remote revisions

2012-09-05 Thread Yuriy Vidineev
https://bugs.kde.org/show_bug.cgi?id=283954

Yuriy Vidineev adeptsm...@gmail.com changed:

   What|Removed |Added

 CC||adeptsm...@gmail.com

--- Comment #10 from Yuriy Vidineev adeptsm...@gmail.com ---
just my 2 cents

I can confirm this issue on KDE 4.9 (kubuntu 12.04) with akonadi-google
resource. Just after start kontact I can edit event without problems. But
second edit causes this error:

Unable to store the incidence in the calendar. Try again? Reason: NO Only
resources can modify remote revisions

One fun fact:

I can't edit start/end time of event due to this error, but I can drag'n'drop
event to another time without problems.

P.S. Sorry for my English

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 283954] Only resources can modify remote revisions

2012-09-05 Thread Yuriy Vidineev
https://bugs.kde.org/show_bug.cgi?id=283954

--- Comment #11 from Yuriy Vidineev adeptsm...@gmail.com ---
Created attachment 73665
  -- https://bugs.kde.org/attachment.cgi?id=73665action=edit
screenshot of error

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 283954] Only resources can modify remote revisions

2012-09-05 Thread Myriam Schweingruber
https://bugs.kde.org/show_bug.cgi?id=283954

Myriam Schweingruber myr...@kde.org changed:

   What|Removed |Added

Version|4.7 |4.9

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 283954] Only resources can modify remote revisions

2012-07-09 Thread Peter Lewis
https://bugs.kde.org/show_bug.cgi?id=283954

Peter Lewis p...@muddygoat.org changed:

   What|Removed |Added

 CC||p...@muddygoat.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 283954] Only resources can modify remote revisions

2012-03-12 Thread Grégory Oestreicher
https://bugs.kde.org/show_bug.cgi?id=283954

--- Comment #9 from Grégory Oestreicher g...@kamago.net ---
After some debugging on this issue today it seems that the problem is that
Korganizer is not using the latest item known to Akonadi, at least in what
concerns the remote revision. If you try to edit the item directly after
starting Korg then everything will be fine. Any further edit in the same
session will fail as the item known to Korg is never refreshed and the remote
revision is now out of date (the dav resource will always fetch the latest
remote revision behind the scenes). When the following edits are done Korg
tries to set the remote revision to what it was, which is rejected by Akonadi.

One solution would be that Korg updates the cached item once EventOrTodoDialog
completes (haven't found how to do this easily, apparently this would require
updating the incidenceeditor-ng to add a signal), or have Akonadi notify Korg
that the remote revision has changed.

I'm not sure I'll have some time soon to look into this, so if anybody want to
pick this up he'll be more than welcome.

Cheers,
Grégory

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 283954] Only resources can modify remote revisions

2012-02-22 Thread Ingo Ratsdorf
https://bugs.kde.org/show_bug.cgi?id=283954


Ingo Ratsdorf i...@envirology.co.nz changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1




--- Comment #8 from Ingo Ratsdorf ingo envirology co nz  2012-02-23 00:37:34 
---
*** This bug has been confirmed by popular vote. ***

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 283954] Only resources can modify remote revisions

2012-01-31 Thread kavol
https://bugs.kde.org/show_bug.cgi?id=283954


kavol ka...@seznam.cz changed:

   What|Removed |Added

 CC||ka...@seznam.cz




--- Comment #7 from kavol kavol seznam cz  2012-01-31 17:55:04 ---
note that I've just hit this issue (same as comment #2, editing an event twice)
with korganizer 4.8.0

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 283954] Only resources can modify remote revisions

2011-12-29 Thread Blackpaw
https://bugs.kde.org/show_bug.cgi?id=283954


Blackpaw lindsay.mathie...@gmail.com changed:

   What|Removed |Added

 CC||lindsay.mathie...@gmail.com




--- Comment #6 from Blackpaw lindsay mathieson gmail com  2011-12-30 03:03:33 
---
I'm seeing this with a Google CalDav resource, configured as as per
here:http://jpwhiting.blogspot.com/2011/04/kontact-with-google-calendar.html


Trying to save *any* edit of any property of an event that was originally added
via the web interface generates the error, which BTW must rank as one of the
most obscure and unhelpful messages ever -
http://jpwhiting.blogspot.com/2011/04/kontact-with-google-calendar.html [Yes]
[No]

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 283954] Only resources can modify remote revisions

2011-12-23 Thread Doualot Nicolas
https://bugs.kde.org/show_bug.cgi?id=283954


Doualot Nicolas nico...@slubman.info changed:

   What|Removed |Added

 CC||nico...@slubman.info




--- Comment #5 from Doualot Nicolas nicolas slubman info  2011-12-23 23:11:44 
---
I have the same issue, generally restarting kontact does help.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 283954] Only resources can modify remote revisions

2011-11-01 Thread Ingo Ratsdorf
https://bugs.kde.org/show_bug.cgi?id=283954





--- Comment #4 from Ingo Ratsdorf ingo envirology co nz  2011-11-02 01:24:13 
---
Had it again.
I added an exception to an reoccurring event. Saved it.
Noticed that it was not changed, had a look at the server via web interface too
and indeed the exception was not saved.

Opened the incidence gain and added the exception, clicked Ok et voila: Said
message pops up.
Cannot change anything, simply won't save and repeats the same message.
Clicked on update calendar folder to trigger a reload in KOrganizer.
Did not help, still not able to change anything. That incidence is now a dead
one in KOrganizer, all I can do is delete it.
I opted to add the exception via web interface and reloaded the calendar in
KOrganizer. All okay now.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 283954] Only resources can modify remote revisions

2011-10-31 Thread kaouete
https://bugs.kde.org/show_bug.cgi?id=283954


kaouete kaou...@crazydwarves.org changed:

   What|Removed |Added

 CC||kaou...@crazydwarves.org




--- Comment #2 from kaouete kaouete crazydwarves org  2011-10-31 16:40:28 ---
Hi, for information, I get the same bug.
I'm synchronizing with a SOGo server in caldav.

When I edit the same event twice, the error appears, I think it is linked to
the fact that korganizer (or akonadi?) detects a conflict between the local
event and the remote one maybe?!

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 283954] Only resources can modify remote revisions

2011-10-31 Thread Ingo Ratsdorf
https://bugs.kde.org/show_bug.cgi?id=283954





--- Comment #3 from Ingo Ratsdorf ingo envirology co nz  2011-10-31 23:31:37 
---
My issue is independant from that.
If I edit an istance too quickly (quicker then the updated version is retrieved
from the server), akonadi or Korganizer will display a message where you can
select the item that you want to keep (using 4.7.2).
However, an ettempt to change repeating item end dates, exceptions or
participants SOMETIMES produces this weired bug.
I tried to reproduce it, but cannot. However it happened several times in the
past.
I will keep an eye on it and report steps taken once it occurs again.

Regards,
Ingo

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 283954] Only resources can modify remote revisions

2011-10-29 Thread Grégory Oestreicher
https://bugs.kde.org/show_bug.cgi?id=283954


Grégory Oestreicher g...@kamago.net changed:

   What|Removed |Added

 CC||g...@kamago.net
  Component|DAV Resource|general
Product|Akonadi |korganizer




--- Comment #1 from Grégory Oestreicher greg kamago net  2011-10-29 17:58:19 
---
Hi Ingo,

I'm wondering if this should not be addressed in KOrg. I'm re-addressing this
bug, as I don't see what can be done by the resource here.

Cheers,
Grégory

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs