Bug 228674

Summary: Synchronize tab from Remote Launcher displays wrong remote directory for upload rules
Product: [Tools] PTP Reporter: Daniel Felix Ferber <dfferber>
Component: Remote ToolsAssignee: Daniel Felix Ferber <dfferber>
Status: CLOSED FIXED QA Contact: Greg Watson <g.watson>
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0.1   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
A patch that fixes the bug. g.watson: iplog+

Description Daniel Felix Ferber CLA 2008-04-24 10:08:07 EDT
Build ID: M20080221-1800

Steps To Reproduce:
Open Run Dialog, create a launcher which implementation is based on Remote Tools Launcher.
Open the "Synchronize" tab and add some upload rules that copy local files to the default remote directory.
Open the "Target" tab, disable "Use default" and write any path into "Remote directory", enable "Use default" again.
Open the "Synchronize" tab and notice that the rules do not show the correct default path, but the value from "Remote directory" field. The rules work correctly, but display wrong information.
Comment 1 Daniel Felix Ferber CLA 2008-04-24 13:48:02 EDT
Created attachment 97494 [details]
A patch that fixes the bug.

The patch modifies the 'Synchronize' tab to check which remote working directory was selected by the user: the default one or the one given in the remote working directory in the 'Target' tab.
Comment 2 Greg Watson CLA 2008-05-05 14:03:42 EDT
Committed.
Comment 3 Daniel Felix Ferber CLA 2008-05-05 15:57:34 EDT
The bug is fixed.