Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mylyn-dev] Re: mylyn-dev Digest, Vol 21, Issue 11

Hi Steffen,
Thank you for your response.
The setPartial was already uncommented I had to comment it out and now it is able to store the zip file in the offline folder.
But in the AttchmentUtil
  taskAttachments = taskData.getAttributeMapper().getAttributesByType(taskData,
     TaskAttribute.TYPE_ATTACHMENT)  is returning null.
The getAttributesBytype is calling the getMeatdata method which is returning null in our generic web connector case.
Is there any thing that we need to set before or implement for this to work.
 
Regards
Deepti

On Sat, Feb 21, 2009 at 9:23 AM, <mylyn-dev-request@xxxxxxxxxxx> wrote:
Send mylyn-dev mailing list submissions to
       mylyn-dev@xxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
       https://dev.eclipse.org/mailman/listinfo/mylyn-dev
or, via email, send a message with subject or body 'help' to
       mylyn-dev-request@xxxxxxxxxxx

You can reach the person managing the list at
       mylyn-dev-owner@xxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of mylyn-dev digest..."


Today's Topics:

  1. Re:  Re: Context retrieval (Steffen Pingel)


----------------------------------------------------------------------

Message: 1
Date: Fri, 20 Feb 2009 13:16:14 -0800
From: Steffen Pingel <steffen.pingel@xxxxxxxxxxx>
Subject: Re: [mylyn-dev] Re: Context retrieval
To: Mylyn developer discussions <mylyn-dev@xxxxxxxxxxx>
Message-ID:
       <5f9f361d0902201316g20d66879x39201df995f6801d@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset="iso-8859-1"

Information about (context) attachments is persisted in the task data which
is stored in the .mylyn/tasks directory. Since the web connector does not
support rich editing, task data is currently not saved during
synchronizations. If you uncomment the line that sets the partial flag
data.setPartial(true) in WebRepositoryConnector.createTaskData() you can
change that behavior and make the context attachments show up in the context
table.

Steffen


On Thu, Feb 19, 2009 at 5:38 PM, DEEPTI DULLURU <dullurudeepti@xxxxxxxxx>wrote:

> Hi,
>
> We are trying to use the templates for the generic web connector to attach
> and retrive the context.
> We were successful in attaching the context .But not able to retrive the
> context. Is their any API that we need to implement to retrive the context
> that has been attached to the task.
> When we compare bugzilla with the web we see that when a new context is
> attached a zip file related to the context is beeing created in the offline
> folder with the taskid.zip name for the bugzilla and not for the web
> repositiory. Can you tell us where and how this is been created. And for
> retrieveal the attchment util.getContextAttachments refers to this file to
> fill in the table from which the context could be selected.And for our web
> repository since this file is not geting created its not filling in the
> table.
>
> Regards
> Deepti
> _______________________________________________
> mylyn-dev mailing list
> mylyn-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/mylyn-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://dev.eclipse.org/mailman/private/mylyn-dev/attachments/20090220/ff30e0e2/attachment.html

------------------------------

_______________________________________________
mylyn-dev mailing list
mylyn-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/mylyn-dev


End of mylyn-dev Digest, Vol 21, Issue 11
*****************************************


Back to the top