Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 206734 - make restore of repositories only an import option
Summary: make restore of repositories only an import option
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: dev   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Robert Elves CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 248364
  Show dependency tree
 
Reported: 2007-10-18 06:27 EDT by maarten meijer CLA
Modified: 2008-09-24 00:53 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description maarten meijer CLA 2007-10-18 06:27:01 EDT
Build ID: M20070921-1145

Steps To Reproduce:
After restarting with the latest dev update, I got the following error and dutifully report a bug.
More serious is that I could only restore the reposoitories by
- reentering manually
- going into the terminal and copying repositories.xml.zip from another workspace

There should be an automatic backup periodically, or repositories should go into the global preferences.
Also they should be easily importable/exportable, like tasks and queries.

-- Error Log --
Date: Thu Oct 18 12:05:34 CEST 2007
Message: No repository found for task. Please create repository in Task Repositories view.
Severity: Error
Plugin ID: org.eclipse.mylyn
Stack Trace:
no stack trace available


More information:
After restarting with the latest dev update, I got the following error and dutifully report a bug.
More serious is that I could only restore the reposoitories by
- reentering manually
- going into the terminal and copying repositories.xml.zip from another workspace

There should be an automatic backup periodically, or repositories should go into the global preferences.
Also they should be easily importable/exportable, like tasks and queries.

-- Error Log --
Date: Thu Oct 18 12:05:34 CEST 2007
Message: No repository found for task. Please create repository in Task Repositories view.
Severity: Error
Plugin ID: org.eclipse.mylyn
Stack Trace:
no stack trace available
Comment 1 Mik Kersten CLA 2007-10-18 17:36:16 EDT
Rob: any ideas of what could have happened here?  I've never seen a repository disappear in this way.

Maarten: perhaps you did not install a connector that was previously there?  Or there was something in your log about a connector not starting?

Also, the repositories are restorable via the Task List's view menu -> Restore Tasks from History.  We are planning on making the restore facility more accessible, more explicit, and potentially more configurable in the near future.
Comment 2 maarten meijer CLA 2007-10-19 07:05:35 EDT
There is nothing in the log, just that the version was just updated :-(

!ENTRY com.aptana.ide.intro 1 0 2007-10-18 11:58:20.261
!MESSAGE (Build 0.2.9.17048) Features Changed

!ENTRY com.aptana.ide.intro 1 0 2007-10-18 11:58:20.261
!MESSAGE (Build 0.2.9.17048) Feature ID: org.eclipse.mylyn.jira_feature Feature Label: Mylyn Connector: Jira (Incubation) From version 2.2.0.I20071010-2020 to 2.2.0.I20071017-1130

!ENTRY com.aptana.ide.intro 1 0 2007-10-18 11:58:20.261
!MESSAGE (Build 0.2.9.17048) Feature ID: org.eclipse.mylyn.xplanner_feature Feature Label: Mylyn Connector: XPlanner (Incubation) From version 2.2.0.I20071010-2020 to 2.2.0.I20071017-1130

!ENTRY com.aptana.ide.intro 1 0 2007-10-18 11:58:20.262
!MESSAGE (Build 0.2.9.17048) Feature ID: org.eclipse.mylyn.pde_feature Feature Label: Mylyn Bridge: PDE, CVS and Ant From version 2.2.0.I20071010-2020 to 2.2.0.I20071017-1130

!ENTRY com.aptana.ide.intro 1 0 2007-10-18 11:58:20.262
!MESSAGE (Build 0.2.9.17048) Feature ID: org.eclipse.mylyn.context_feature Feature Label: Mylyn Focused UI (Recommended) From version 2.2.0.I20071010-2020 to 2.2.0.I20071017-1130

!ENTRY com.aptana.ide.intro 1 0 2007-10-18 11:58:20.262
!MESSAGE (Build 0.2.9.17048) Feature ID: org.eclipse.mylyn.ide_feature Feature Label: Mylyn Bridge: Eclipse IDE From version 2.2.0.I20071010-2020 to 2.2.0.I20071017-1130

!ENTRY com.aptana.ide.intro 1 0 2007-10-18 11:58:20.262
!MESSAGE (Build 0.2.9.17048) Feature ID: org.eclipse.mylyn.java_feature Feature Label: Mylyn Bridge: Java Development From version 2.2.0.I20071010-2020 to 2.2.0.I20071017-1130

!ENTRY com.aptana.ide.intro 1 0 2007-10-18 11:58:20.263
!MESSAGE (Build 0.2.9.17048) Feature ID: org.eclipse.mylyn.monitor_feature Feature Label: Mylyn UI Usage Reporting From version 2.2.0.I20071010-2020 to 2.2.0.I20071017-1130

!ENTRY com.aptana.ide.intro 1 0 2007-10-18 11:58:20.263
!MESSAGE (Build 0.2.9.17048) Feature ID: org.eclipse.mylyn.bugzilla_feature Feature Label: Mylyn Connector: Bugzilla From version 2.2.0.I20071010-2020 to 2.2.0.I20071017-1130

!ENTRY com.aptana.ide.intro 1 0 2007-10-18 11:58:20.263
!MESSAGE (Build 0.2.9.17048) Feature ID: org.eclipse.mylyn.trac_feature Feature Label: Mylyn Connector: Trac From version 2.2.0.I20071010-2020 to 2.2.0.I20071017-1130

!ENTRY com.aptana.ide.intro 1 0 2007-10-18 11:58:20.264
!MESSAGE (Build 0.2.9.17048) Feature ID: org.eclipse.mylyn_feature Feature Label: Mylyn Task List (Required) From version 2.2.0.I20071010-2020 to 2.2.0.I20071017-1130

!ENTRY com.aptana.ide.intro 1 0 2007-10-18 11:58:20.264
!MESSAGE (Build 0.2.9.17048) Feature ID: net.sourceforge.texlipse Feature Label: TeXlipse From version null to 1.2.0

!ENTRY com.aptana.ide.intro 1 0 2007-10-18 11:58:20.265
!MESSAGE (Build 0.2.9.17048) Feature ID: org.eclipse.mylyn.web.tasks_feature Feature Label: Mylyn Connector: Generic Issue Tracker (Advanced) From version 2.2.0.I20071010-2020 to 2.2.0.I20071017-1130

!ENTRY org.eclipse.mylyn 4 0 2007-10-18 12:03:46.094
!MESSAGE No repository found for task. Please create repository in Task Repositories view.


!ENTRY org.eclipse.mylyn 4 0 2007-10-18 12:03:58.594
!MESSAGE No repository found for task. Please create repository in Task Repositories view.
Comment 3 Robert Elves CLA 2007-10-22 01:07:16 EDT
This could have resulted from a corrupted repositories file. The backup/restore procedure will need to make restoring of -only- task repositories an option.
Comment 4 Robert Elves CLA 2007-11-14 19:41:31 EST
Maarten, we'll make restore of repositories easier for 3.0 but if you see this happen again please shout.
Comment 5 Robert Elves CLA 2008-06-14 00:38:07 EDT
Need to defer: http://wiki.eclipse.org/index.php/Mylyn/3.0_Plan#Deferred_Items
Comment 6 Steffen Pingel CLA 2008-09-23 22:49:29 EDT
Rob, is there anything left to do here considering the snapshot mechanism and auto adding of task repositories when a task refers to a non-existing repository on task list loading?
Comment 7 Robert Elves CLA 2008-09-24 00:53:03 EDT
Should be good here now.