Uploaded image for project: 'JCommune'
  1. JCommune
  2. JC-1262

Text displacement while loading improper avatar

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.2 Larks
    • Fix Version/s: 1.5 Larks
    • Labels:
      None
    • Environment:

      Opera 12.12

    • Sprint:
      1.5 Larks

      Description

      When you try to change image with size more 51200Kb, every second try the text is displaced.
      Note: it happens every even (2,4,6,…) try. On odds it’s Ok.

      1.Login
      2.Go to profile
      3.Press "edit profile"
      4.Upload new avatar(size:more 51200kb) more then 2 times.

        Attachments

        1. 2.JPG
          2.JPG
          6 kB
        2. Map_Europe.jpg
          Map_Europe.jpg
          463 kB

          Activity

          Hide
          anatolievi4 Andrei Alikov added a comment -

          Added handling of empty file, all error messages are shown in alerts (in case of empty file, too large file, file with wrong type)

          Show
          anatolievi4 Andrei Alikov added a comment - Added handling of empty file, all error messages are shown in alerts (in case of empty file, too large file, file with wrong type)
          Hide
          avduntiy Andrey Fadeev added a comment -

          Test Environment
          Opera 12.15 Chrome 26.0

          Test Scenario
          1.Login
          2.Go to profile
          3.Press "edit profile"
          4.Upload new avatar(size:more 51,200 bytes) more then 2 times.

          EX=AR: Message: Could not load file of more than 51,200 bytes. Displayed correctly.

          Regression tests:
          Download avatar sizes smaller. Change the maximum size, and reload the avatar.

          Test results:
          May be closed

          Show
          avduntiy Andrey Fadeev added a comment - Test Environment Opera 12.15 Chrome 26.0 Test Scenario 1.Login 2.Go to profile 3.Press "edit profile" 4.Upload new avatar(size:more 51,200 bytes) more then 2 times. EX=AR: Message: Could not load file of more than 51,200 bytes. Displayed correctly. Regression tests: Download avatar sizes smaller. Change the maximum size, and reload the avatar. Test results: May be closed
          Hide
          julik Julia Atlygina added a comment -

          Andrey Fadeev did you try some word or txt files? also did you tried to remove avatar and cancel editing, etc?

          Show
          julik Julia Atlygina added a comment - Andrey Fadeev did you try some word or txt files? also did you tried to remove avatar and cancel editing, etc?
          Hide
          avduntiy Andrey Fadeev added a comment - - edited

          All this I did, and tried to load different sized pictures of all the possible formats.

          Show
          avduntiy Andrey Fadeev added a comment - - edited All this I did, and tried to load different sized pictures of all the possible formats.
          Hide
          julik Julia Atlygina added a comment -

          Ok, so let's close this issue via Workflow->Close button

          Show
          julik Julia Atlygina added a comment - Ok, so let's close this issue via Workflow->Close button

            People

            • Assignee:
              avduntiy Andrey Fadeev
              Reporter:
              stakhoviyu Stakhov Ivan
            • Votes:
              0 Vote for this issue
              Watchers:
              Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h
                2h

                  Structure Helper Panel