Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 256048 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/rse/files/ui/resources/SystemUniversalTempFileListener.java (-2 / +3 lines)
Lines 138-145 Link Here
138
			// first we need to get the stored timestamp property and the actual remote timestamp
138
			// first we need to get the stored timestamp property and the actual remote timestamp
139
			SystemIFileProperties properties = new SystemIFileProperties(tempFile);
139
			SystemIFileProperties properties = new SystemIFileProperties(tempFile);
140
			
140
			
141
			// make sure we're working online - not offline
141
			// make sure we're working online 
142
			if (fs.isOffline())
142
			// also as per bug 256048 - comment#6 if we're not connected we still need to do the same thing
143
			if (fs.isOffline() || !fs.isConnected())
143
			{			
144
			{			
144
				// offline mode - make sure the file stays dirty
145
				// offline mode - make sure the file stays dirty
145
				properties.setDirty(true);
146
				properties.setDirty(true);
(-)src/org/eclipse/rse/files/ui/resources/SystemTempFileListener.java (-1 / +3 lines)
Lines 706-712 Link Here
706
						// instead, defer synchronization to later but allow user to edit
706
						// instead, defer synchronization to later but allow user to edit
707
						// set the dirty flag to indicate that this file needs resynchronization
707
						// set the dirty flag to indicate that this file needs resynchronization
708
						properties.setDirty(true);
708
						properties.setDirty(true);
709
						return;
709
						
710
						// as per bug 256048 - comment#6 if we're not connected follow through to
711
						// doResourceSynchronization so we have the change to mark the SystemTextEditor dirty
710
					}
712
					}
711
				}
713
				}
712
				doResourceSynchronization(fs, file, uploadPath, monitor);		
714
				doResourceSynchronization(fs, file, uploadPath, monitor);		

Return to bug 256048