[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [mylyn-integrators] How to fetch new data for existing tasks on connector update?
|
We have also run into this requirement (e.g. when additional
attributes need to be stored on ITask) and as you have noticed this is
currently not supported by the tasks framework. I have created this
bug to discuss enhancements to the API to support that case better:
290604: [api] support updating of task details without causing an
incoming notification
https://bugs.eclipse.org/bugs/show_bug.cgi?id=290604
Steffen
On Sun, Feb 8, 2009 at 10:46 AM, Peter Stibrany <peter@xxxxxxxxxx> wrote:
> Hello,
>
> I am not sure how to handle following situation: new version of
> connector now fetches more data than previous one, and creates some
> new attributes. I'd like to force fetching this new data for all
> existing user's tasks (which don't have new attributes yet), but I
> prefer not to indicate that there is incoming data for every task,
> because this would break existing 'state of tasks' for user.
>
> Is it possible to do this? I found
> AbstractTaskDataHandler.migrateTaskData method, but it seems that this
> one should not fetch data from remote repository (there is no progress
> monitor). Other way I found is to check version in
> AbstractRepositoryConnector.hasTaskChanged, and return true (task has
> changed) if taskData has older version than current ... but this will
> then indicate that data has incoming changes, which is not true.
> (Well.. it is, from connector's point of view, but not from user's
> point of view). Any other ideas?
>
> Thank you in advance for your suggestions.
>
> -Peter Stibrany
> www.foglyn.com
> _______________________________________________
> mylyn-integrators mailing list
> mylyn-integrators@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/mylyn-integrators
>
--
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com