Bugs item #2623596, was opened at 2009-02-21 03:05
Message generated for change (Settings changed) made by freyther
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=843359&aid=2623596&group_id=167540

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Synchronisation / Invitation
Group: None
Status: Closed
Resolution: None
>Priority: 6
Private: No
Submitted By: Christopher Oezbek (coezbek)
Assigned to: Christopher Oezbek (coezbek)
Summary: Synchronization errors when buffers are not saved / closed

Initial Comment:
If an existing project is synchronized with and editors are open on the client 
side whose file contents is replaced or changed, then this causes problems with 
Eclipse. Some problems could be resolved by closing and reopening the buffer, 
but not all.

Maybe this problem is only there if the editor is dirty. 

Suggestion: Close and Save all editors on the client side before synchronizing 
an existing project.

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

Comment By: SourceForge Robot (sf-robot)
Date: 2009-05-21 19:20

Message:
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

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

Comment By: Christopher Oezbek (coezbek)
Date: 2009-05-07 07:41

Message:
More information about the situation in which the bug occurred is necessary
to qualify as a bug.

Setting to pending.

Christopher

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

Comment By: Sebastian Ziller (s-ziller)
Date: 2009-05-07 07:34

Message:
occured in test

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

Comment By: SourceForge Robot (sf-robot)
Date: 2009-04-21 19:20

Message:
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

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

Comment By: Christopher Oezbek (coezbek)
Date: 2009-04-02 05:51

Message:
Fixed in rev.1039

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

Comment By: Christopher Oezbek (coezbek)
Date: 2009-03-06 04:04

Message:
A possible fix in JoinSessionWizard:

    protected boolean saveProject(final Shell shell, final IProject
baseProject) {

        if (SharedProject.searchUnsavedChangesInProject(baseProject,
false)) {
            if (MessageDialog
                .openQuestion(
                    shell,
                    "Unsaved file modifications",
                    "Before using this project for synchronizing files "
                        + "this project needs to be saved to disk. "
                        + "Do you want to save all unsaved files of this
project now?")) {

                SharedProject.searchUnsavedChangesInProject(baseProject,
true);
                return true;
            } else {
                return false;
            }
        }
        return true;

    }

    @Override
    public boolean performFinish() {

        if (this.process.getState() == State.CANCELED) {
            return true;
        }

        final IProject source = this.namePage.getSourceProject();
        final String target = this.namePage.getTargetProjectName();

        try {
            final Shell shell = Display.getDefault().getActiveShell();

            getContainer().run(true, true, new IRunnableWithProgress() {
                public void run(IProgressMonitor monitor)
                    throws InvocationTargetException, InterruptedException
{

                    if (source != null) {
                        if (!saveProject(shell, source)) {
                            // User canceled the saving!
                            process.cancel(null, false);
                            throw new InterruptedException();
                        }
                    }

                    process.accept(source, target, monitor);
                }
            });

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=843359&aid=2623596&group_id=167540

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dpp-robot mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dpp-robot

Reply via email to