Community
Participate
Working Groups
Build ID: I20080617-2000 Steps To Reproduce: 1. Change description field 2. Change to start progress on issue 3. Click to attach context 4. Submit More information: JIRA 3.13 JIRA Connector 3.0.2.v20080918-1100-e3x Description change lost, start progress is done and context attached correctly. Issue change log indicates no description change.
*** Bug 258199 has been marked as a duplicate of this bug. ***
Perhaps we could raise the priority/severity of this one? Data loss is a pretty severe problem.
Priority changed in accordance with Bugzilla guidelines: https://bugs.eclipse.org/bugs/bug_status.html#bug_severity .
This one hit me again today. Could we set the target milestone for 3.1? Also, if I were to look into this one any hints on where to start? Thanks.
We'll take a pass through the JIRA bugs in two weeks and I'll consider prioritizing this bug.
As a first pass to avoid data loss it should be possible to show a warning message.
Created attachment 123435 [details] TestCase here is the (now failing) testcase, fix coming up...
Created attachment 123436 [details] mylyn/context/zip
Created attachment 123442 [details] TestCase and Fix the all-in-one patch
Created attachment 123443 [details] mylyn/context/zip
Patch looks good. Just one minor nit: Can you break the test case up? Each of the blocks should be in a separate test method otherwise it gets cumbersome to figure out what went wrong if a call in the middle of the method fails.
Created attachment 123578 [details] split-up test and fix
Created attachment 123579 [details] mylyn/context/zip
Good stuff! A few comments: The expected value should always be the first first argument in JUnit's assert...() methods. To make it easy to determine what is tested we put the name of the method under test first in a JUnit test case, e.g. testPostTaskDataAddComment() and try to use descriptive names even if they get long. I have simplified the test cases slightly to not rely on the task data offline store but test everything "in memory". We should probably remove some methods in JiraTestUtil since it is not obvious that these require task data to be stored on disk to return meaningful results.
Totally makes sense, thank you for changing that for me.
Steffen, Thomas, thanks for fixing this one.
*** Bug 243059 has been marked as a duplicate of this bug. ***