History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-21182
Type: Bug Bug
Status: Reopened Reopened
Priority: Major Major
Assignee: Anton Makeev
Reporter: Ian Booth
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Change markers missing when working offline

Created: 17 Aug 07 03:23   Updated: 10 Nov 08 16:46
Component/s: Local History
Fix Version/s: Undefined

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: SUSE 10.2, JDK 1.6

Build: 7,123
Fixed in build: 7,508
Severity: High


 Description  « Hide
If I open IDEA when offline from CVS, it appears that the change markers usually present in the gutter margin are no longer there. This happens in the 7.0M2 build but I think it may have started a bit earlier, although I can't be sure.

 All   Comments   Work Log   Change History      Sort Order:
Irina Petrovskaya - 17 Sep 07 17:34
  • open some idea project associated with cvs
  • make the cvs server disconnected
  • when some cvs operation fails, choose 'work offline'
  • make some changes in any file: no change markers are shown. After restart - same problem.
  • restore connection to server: markers are shown normally

Irina Petrovskaya - 18 Oct 07 10:30
n/r now for text files; for files added with -kb option (as binary) the problem still exists, but this is not a bug probably

Ian Booth - 18 Oct 07 14:59
Thank you for looking at this problem. Unfortunately it is still broken for me, even with the released copy of 7.0. When I am working at home. I start up IDEA. I have an IP connection to the net but the cvs server at the office is not visible. After the project loads, I get a dialog that says the cvs server is not available. I choose to work offline. The change markers do not appear. The modified files are correctly coloured blue though.

Perhaps I am doing something wrong? I never had this problem with the previous 6.x version of IDEA though. Are you sure it is really fixed?


Anton Makeev - 19 Oct 07 16:27
This issue could arise on account of local history clean up. If you have a file that was registered in local history more than 3 days ago, or if local history was cleaned up (was broken, was updated after new idea version installed). Could it possible be the reason of your problem?

Ian Booth - 22 Oct 07 06:38
I could be local history so I did another experiment. I opened a modified file when I was offline and confirmed that no change markers were present. I made a change to this file and recompiled the project. I used the Show Local History feature to confirm that the change was recorded in local history. Yet there are still no change markers shown (even after restarting IDEA). I am not sure if this matters or not but the Work Offline menu item under Version Control->CVS never gets a tick, even when the Work Offline dialog comes up shortly after opening IDEA and I select the Work Offline option. If I subsequently go to this menu and select it, the tick appears but it makes no difference to whether the change markers are shown or not.

Anton Makeev - 22 Oct 07 13:31
I meant that for change markers to works it should relevant local history revision exist. That is if the file was checked out 5 days ago and local history was build about 5-4 days ago than it certain that this revision was cleaned up.

If it is so, I will figure out that could we do to solve this problem.


Ian Booth - 04 Nov 07 23:38
There seems to be an intermittent problem? Over the past couple of weeks use, sometimes the change markers do appear and then the very next time I open IDEA offline, they are missing again. And then the next time they are there again (for the very same files).