Uploaded image for project: 'New Features 2017'
  1. New Features 2017
  2. NF-5303

SDRMA>Server error is displaying after saving .txt file as .jpg and uploading as a profile image

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Bug Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: UI Refresh
    • Labels:
      None
    • Environment:
      Pre Production
    • Bug Type:
      Functional
    • Bug Severity:
      Medium
    • Level:
      Employee
    • Module:
      BenAdmin
    • Reported by:
      Harbinger
    • Company:
      SDRMA
    • Item State:
      Stage QA - Production Deployment on Hold
    • Browser:
      IE 11

      Description

      Company - SDRMA
      Checked on Browser - IE 11

      1] Login to the application as a employee.
      2] Click on Profile icon in top right corner.
      3] Save .txt file as a .jpg
      4] Upload this file as a profile image.

      Note - This issue is present for all company, though it is found while testing SDRMA company on Pre-pod environment.

      Actual Result:
      Server error is displaying.
      Expected Result:
      Proper message like "Invalid File Format" should be display.
      Refer attached screenshot and error log for more details.

      Cc: Sachin Hingole, Prasad Pise

        Attachments

        1. DataSniffing.jpg
          DataSniffing.jpg
          117 kB
        2. ErrorLog.txt
          2 kB
        3. NF-5303.png
          NF-5303.png
          74 kB
        4. Pass_Prod_Image.JPG
          Pass_Prod_Image.JPG
          86 kB
        5. PreProd_Pass_NF-5303.jpg
          PreProd_Pass_NF-5303.jpg
          123 kB
        6. ValidationMessage.png
          ValidationMessage.png
          48 kB

          Issue Links

            Activity

            Hide
            seema.gaikwad Seema Gaikwad (Inactive) added a comment -

            Modified file

            • Web\SharedFunctionWebTier\SharedFunctionWebTier\Controllers\Common\CommonController.cs
            Show
            seema.gaikwad Seema Gaikwad (Inactive) added a comment - Modified file Web\SharedFunctionWebTier\SharedFunctionWebTier\Controllers\Common\CommonController.cs
            Hide
            seema.gaikwad Seema Gaikwad (Inactive) added a comment -

            Hi Kunal Kedari

            Now following message is displayed when we save .txt file as a .jpg and uploaded as image at all places.

            This issue is fixed and can deploye on codemap in next build.So test this after next build.
            Reassigning ticket to you.

            Thanks.

            Show
            seema.gaikwad Seema Gaikwad (Inactive) added a comment - Hi Kunal Kedari Now following message is displayed when we save .txt file as a .jpg and uploaded as image at all places. This issue is fixed and can deploye on codemap in next build.So test this after next build. Reassigning ticket to you. Thanks.
            Hide
            sanjana.jadhav Sanjana Jadhav (Inactive) added a comment -

            Verified on codemap.
            Uploaded .txt file. It shows message as "Invalid File Format".
            Working properly.
            PFA

            Thanks,
            Sanjana Jadhav

            CC: Prasad Pise Sachin Hingole Rakesh Roy

            Show
            sanjana.jadhav Sanjana Jadhav (Inactive) added a comment - Verified on codemap. Uploaded .txt file. It shows message as "Invalid File Format". Working properly. PFA Thanks, Sanjana Jadhav CC: Prasad Pise Sachin Hingole Rakesh Roy
            Hide
            kunal.kedari Kunal Kedari (Inactive) added a comment -

            Verified the fix on Pre-Prod, now below message is displaying while uploading .txt file converted to .jpg. Working as expected.
            "Invalid file format or threat to system. Cannot upload file."

            Cc: Sachin Hingole, Hrishikesh Deshpande, Prasad Pise, Vijayendra Shinde

            Show
            kunal.kedari Kunal Kedari (Inactive) added a comment - Verified the fix on Pre-Prod, now below message is displaying while uploading .txt file converted to .jpg. Working as expected. "Invalid file format or threat to system. Cannot upload file." Cc: Sachin Hingole , Hrishikesh Deshpande , Prasad Pise , Vijayendra Shinde
            Hide
            kunal.kedari Kunal Kedari (Inactive) added a comment -

            Verified the fix on Production, working as expected. Validation message is displaying while uploading .txt file converted to .jpg. Refer below screenshot for more details:

            Closing Jira.

            Cc: Sachin Hingole, Prasad Pise, Hrishikesh Deshpande

            Show
            kunal.kedari Kunal Kedari (Inactive) added a comment - Verified the fix on Production, working as expected. Validation message is displaying while uploading .txt file converted to .jpg. Refer below screenshot for more details: Closing Jira. Cc: Sachin Hingole , Prasad Pise , Hrishikesh Deshpande

              People

              Assignee:
              kunal.kedari Kunal Kedari (Inactive)
              Reporter:
              kunal.kedari Kunal Kedari (Inactive)
              QA:
              Kunal Kedari (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Code Review Date:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Time Spent - 6h Remaining Estimate - 3h
                  3h
                  Logged:
                  Time Spent - 6h Remaining Estimate - 3h
                  6h