Bug 82127 - Empty folders not created on site upload
Summary: Empty folders not created on site upload
Status: RESOLVED FIXED
Alias: None
Product: quanta
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: András Manţia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-25 01:43 UTC by Dan Leinir Turthra Jensen
Modified: 2004-05-26 11:57 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Leinir Turthra Jensen 2004-05-25 01:43:47 UTC
Version:           3.3 Bleeding Edge 2 (using KDE 3.2.2, compiled sources)
Compiler:          gcc version 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)
OS:                Linux (i686) release 2.6.3-4mdk

When you upload a project with Quanta+, folders are not created if they contain no files. Really, the report /is/ that short ;)
Comment 1 András Manţia 2004-05-26 11:57:41 UTC
CVS commit by amantia: 

Backport: make uploading of empty folders possible.

CCMAIL: 82127-done@bugs.kde.org


  M +1 -0      ChangeLog   1.205.2.41
  M +1 -1      quanta/project/projectupload.cpp   1.49.2.4


--- quanta/ChangeLog  #1.205.2.40:1.205.2.41
@@ -25,4 +25,5 @@
         - unconditionally hide the splash screen after 10 seconds [#80086, #82013]
         - don't crash when inserting a dot in an empty CSS file [#82143]
+        - make uploading of empty folders possible [#82127]
 
     - improvements:

--- quanta/quanta/project/projectupload.cpp  #1.49.2.3:1.49.2.4
@@ -145,5 +145,5 @@ void ProjectUpload::slotBuildTree()
    {
      QuantaCommon::setUrl(u, s);
-     absUrl.setPath(m_project->baseURL.path(1)+u.path());
+     absUrl.setPath(m_project->baseURL.path(1)+u.path(-1));
      KFileItem *p_item = projectDirFiles.find(absUrl.url());
      if (!p_item)