Bug 56237

Summary: Updating project doesn't work with relative path
Product: quanta Reporter: mrudolf
Component: generalAssignee: András Manţia <amantia>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description mrudolf 2003-03-22 12:45:55 UTC
Version:           3.2-CVS-1 (using KDE 3.1.0)
Installed from:    compiled sources
Compiler:          gcc version 2.96 20000731 (Mandrake Linux 8.2 2.96-0.76mdk)
OS:          Linux (i686) release 2.4.18-8.1mdk

Updating project doesn't work with relative path (without leading "/"). Such
path is appended to ftp server without any separators, thus creating wrong server name.
Also, changed path is not stored for the next time.
Comment 1 András Manţia 2003-03-25 17:05:23 UTC
Subject: quanta/quanta/project

CVS commit by amantia: 

Store the upload settings in the project file; add a starting / to the upload path if one was not present.

CCMAIL: 56237-done@bugs.kde.org


  M +20 -15    project.cpp   1.87
  M +10 -9     project.h   1.38
  M +11 -8     projectupload.cpp   1.33



Comment 2 András Manţia 2003-03-25 17:06:38 UTC
Subject: Re: Updating project doesn't work with relative path

Do you talk about the "Path" entry in the "Upload Project" dialog? If so:

1. if you enter only "directory_1" where would you like the files to be
uploaded? To /home/username/directory_1, to /pub/directory_1, to /directory_1
? I think it's impossible to guess where it should go. Setting it to
/directory_1 seems to be the most logical (so a simple prepend of "/" to the
path). I will do this way, but if you have a better idea, let me know.

2. The entered Path is remembered until you quit Quanta. I will fix it, so it
will be used even on the next startup. BTW, it's valid also for other upload
settings, not just for the path.

Andras

- --
Quanta Plus developer - http://quanta.sourceforge.net
K Desktop Environment - http://www.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+gHsfTQdfac6L/08RAnoaAJ9y9eAywIJt1C/Bj8YT1E6UCkwhGQCg23d/
VnCjj01TFDLCJbmCyKsqpRQ=
=7t7u
-----END PGP SIGNATURE-----

Comment 3 mrudolf 2003-03-25 20:37:00 UTC
Subject: Re:  Updating project doesn't work with relative path

W wtorek, 25 marca 2003 17:08, Mantia Andras napisa