Option to automatically append original extension to swift object name on upload

Bug #961621 reported by Emilien Macchi
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Invalid
Wishlist
Annapoornima

Bug Description

This is a feature request :

It would be great to automatically name the file according to its original name with the extension during uploading the file from the Dashboard.

Revision history for this message
Gabriel Hurley (gabriel-hurley) wrote :

The file's extension is currently recorded in the object's metadata, and is restored to the file upon download if no other extension is supplied.

I think the best option here is to add a checkbox to the form for "append file extension" which is checked by default. That way people can opt out of having the extension appended if they so desire.

Changed in horizon:
importance: Undecided → Low
status: New → Confirmed
summary: - Automatically name the file according to its original name with the
- extension
+ Option to automatically append original extension to swift object name
+ on upload
Changed in horizon:
milestone: none → folsom-1
Devin Carlen (devcamcar)
Changed in horizon:
assignee: nobody → Nebula (nebula)
Devin Carlen (devcamcar)
Changed in horizon:
milestone: folsom-1 → folsom-2
Revision history for this message
Tihomir Trifonov (ttrifonov) wrote :

As I understand - there are 2 cases here:

1. I want to upload a file, but don't want to change it's file name, and don't want to type it too. Maybe a checkbox saying "Use original file name", with default value == checked, and disabled input for the object name will help a lot.
2. I want to rename the object, but it is not obvious ATM that if I don't put an extension to the object name, it will automatically be appended to the object name on download.

I personally think of the first one as the most commonly used, while for the second - my gut feeling is that if the user wants to explicitly set the object name and doesn't set an extension... maybe he doesn't want to set such? Anyway we may add a checkbox for their preference in that case.

Revision history for this message
Emilien Macchi (emilienm) wrote :

@Tihomir : I agree with you, the 1st use case is what I was talking about at first. The second one is an extension witch expends capabilities, and that's also great.

Revision history for this message
Gabriel Hurley (gabriel-hurley) wrote :

Since this isn't a bug, and definitely not a blocker for F2, I'm bumping it to F3.

Changed in horizon:
milestone: folsom-2 → folsom-3
Changed in horizon:
importance: Low → Wishlist
Revision history for this message
Gabriel Hurley (gabriel-hurley) wrote :

Untargeting from folsom as this is a nice-to-have but no one has worked on it.

Changed in horizon:
assignee: Nebula (nebula) → nobody
milestone: folsom-3 → none
Revision history for this message
Tihomir Trifonov (ttrifonov) wrote : Re: [Bug 961621] Re: Option to automatically append original extension to swift object name on upload

Hi Gabriel,

I've started work on this patch some time ago, but it was unclear what
needs to be done. I've described the two issues that arise with the upload
logic, waiting for feedback if everyone is fine with it. If you're OK with
the proposed changes in the ticket - you can assign it to me for RC1.

On Wed, Aug 15, 2012 at 3:38 AM, Gabriel Hurley
<email address hidden>wrote:

> Untargeting from folsom as this is a nice-to-have but no one has worked
> on it.
>
> ** Changed in: horizon
> Milestone: folsom-3 => None
>
> ** Changed in: horizon
> Assignee: Nebula (nebula) => (unassigned)
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/961621
>
> Title:
> Option to automatically append original extension to swift object name
> on upload
>
> Status in OpenStack Dashboard (Horizon):
> Confirmed
>
> Bug description:
> This is a feature request :
>
> It would be great to automatically name the file according to its
> original name with the extension during uploading the file from the
> Dashboard.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/horizon/+bug/961621/+subscriptions
>

--
Regards,
Tihomir Trifonov

Changed in horizon:
assignee: nobody → Gabriel Hurley (gabriel-hurley)
milestone: none → grizzly-1
Changed in horizon:
milestone: grizzly-1 → grizzly-2
Changed in horizon:
assignee: Gabriel Hurley (gabriel-hurley) → nobody
milestone: grizzly-2 → grizzly-3
Changed in horizon:
milestone: grizzly-3 → none
Annapoornima (a-koppad)
Changed in horizon:
assignee: nobody → Annapoornima (a-koppad)
Revision history for this message
Itxaka Serrano (itxaka) wrote :

This is not valid anymore.

The actual form will fill the object name field with the original filename so it will be uploaded with the proper name.
It also allows you to change the object name and it will restore it to the proper name on download.

Changed in horizon:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.