← Back to team overview

mahara-contributors team mailing list archive

[Bug 1618269] Re: Issue with uploader saving oldextension value for files with mutiple suffixes

 

** Changed in: mahara
    Milestone: 16.10.1 => 17.04.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1618269

Title:
  Issue with uploader saving oldextension value for files with mutiple
  suffixes

Status in Mahara:
  Confirmed

Bug description:
  One thing I noticed with testing the bug 1602452 is this

  Say I have a file called my_test.tar.bz2 (a compressed tar archive
  file) and I upload it to Mahara.

  When it gets saved one of the pieces of information stored in the db
  is its artefact_file_files.oldextension value. I would expect it to be
  saved as 'tar.bz2' but it is only saved as 'bz2'.

  So when I go to extract the file on the confirm page it says: "Files
  will be extracted into my_test.tar"

  And when I do the extraction the directory created is called
  'my_test.tar' rather than 'my_test'

  The system does work but it could be improved so I've marked this as a
  'low' bug

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1618269/+subscriptions


References