Skip to content

[6.0.4] Upload over quota file as link #10047

Closed

Description

@ser72

Expected behavior
Error and file isn't uploaded

Actual Behavior
Empty error dialog appears
File is uploaded but truncated

Steps
Configure user quota to 512MB (for testing purposes)
Select NEW then LINK and use the following (as example)
http://mirror.science.uottawa.ca/centos/7.0.1406/isos/x86_64/CentOS-7.0-1406-x86_64-livecd.iso

This is a 687MB file!! larger than the user's quota

The progress bar progresses

The following error appears -- notice there is no text:

error

(note -- if you remove the file then re-upload it the error doesn't appear again)

After selecting ok on the error, the file is in the file list but truncated to the remaining quota size:

file

Activity

  1. self-assigned this
    on Aug 1, 2014
  2. ser72 commented on Aug 5, 2014

    @ser72
    Author

    @butonic: Any updates?

  3. added this to the milestone on Aug 5, 2014
  4. butonic commented on Aug 15, 2014

    @butonic
    Contributor

    @ser72 @karlitschek fix has been merged in master and stable7 backport to stable6?

  5. karlitschek commented on Aug 15, 2014

    @karlitschek
    Contributor

    Yes. backport to stable6 please.

  6. ser72 commented on Aug 21, 2014

    @ser72
    Author

    @butonic

    Seems this didn't make it into 6.0.5? Just tested it and still broken

  7. butonic commented on Aug 22, 2014

    @butonic
    Contributor

    no one tested the OC6 PR in time

    @icewind1991 @DeepDiver1975 @bantu @karlitschek @craigpg @ser72 time for severity / priority labels?

  8. karlitschek commented on Aug 22, 2014

    @karlitschek
    Contributor

    Actually I have hoped that you remember to backport your fixes. ;-(
    It´s usually the responsibility of the developer who did the fix in master to also backport.

  9. butonic commented on Aug 22, 2014

    @butonic
    Contributor

    @karlitschek Um, I did that seven days ago. Have a closer look at this Issue. You will see PRs for master, stable7 and stable6. Granted, stable7 was an easy cherry pick, but stable six also requires touching other stuff. At the time we were preparing the stable7 release, which is why I created PRs instead of just committing and possibly breaking stuff ... I have a knack for that. With milestone ' 2014-sprint-01-current', 'blue-ticket', 'engineering' and 'to review' labels this should have raised enough awareness, but it did not. So we need to point a finger at our review process and not at me ... at least this time ;)

    cc @craigpg so he keeps in mind that we need to have a better way to raise awareness for issues like this. Maybe with priority labels, or better release milestones?

  10. karlitschek commented on Aug 24, 2014

    @karlitschek
    Contributor

    hmm. So can you look after this backport now? We still have a few ours before the final. I´m in a plane tomorrow so it would be good if you could ask someone to help with the review.

  11. ser72 commented on Aug 26, 2014

    @ser72
    Author

    @butonic

    Just tested 6.0.5 released code. It half works.

    The file doesn't upload. However, prior to the error coming up, the blank error still appears:

    capture

    Click ok on that then an error stating why the link isn't uploaded appears.

    Can we get rid of this blank error?

  12. butonic commented on Aug 27, 2014

    @butonic
    Contributor

    Hm, the additional empty alert box only pops up in firefox, investigating.

  13. butonic commented on Aug 27, 2014

    @butonic
    Contributor

    @ser72 fixed by moving to notifications with #10660

  14. butonic commented on Aug 27, 2014

    @butonic
    Contributor

    closing because all PRs have been merged

  15. locked as resolved and limited conversation to collaborators on Aug 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions