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

            kunal.kedari Kunal Kedari (Inactive) created issue -
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Field Original Value New Value
            Link This issue relates to NF-5195 [ NF-5195 ]
            vijayendra Vijayendra Shinde (Inactive) made changes -
            Assignee Vijayendra Shinde [ ID10506 ] Seema Gaikwad [ seema.gaikwad ]
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Status Open [ 1 ] In Development [ 10007 ]
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Item State Parent values: Development(10200)Level 1 values: In Progress(10206)
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Item State Parent values: Development(10200)Level 1 values: In Progress(10206) Parent values: Development(10200)Level 1 values: Ready for Review(10208)
            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
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Attachment ValidationMessage.png [ 68994 ]
            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.
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Assignee Seema Gaikwad [ seema.gaikwad ] Kunal Kedari [ kunal.kedari ]
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Code Review Date 01/Dec/2017
            Code Reviewed By Vijayendra Shinde [ 11901 ]
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Item State Parent values: Development(10200)Level 1 values: Ready for Review(10208) Parent values: Development(10200)Level 1 values: Ready for Local Testing(10209)
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Remaining Estimate 0h [ 0 ]
            Time Spent 4.5h [ 16200 ]
            Worklog Id 94305 [ 94305 ]
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Time Spent 4.5h [ 16200 ] 9h [ 32400 ]
            Worklog Id 94306 [ 94306 ]
            seema.gaikwad Seema Gaikwad (Inactive) made changes -
            Remaining Estimate 0h [ 0 ] 4.5h [ 16200 ]
            Time Spent 9h [ 32400 ] 4.5h [ 16200 ]
            Worklog Id 94306 [ 94306 ]
            Worklog Time Spent 4.5h [ 16200 ]
            seema.gaikwad Seema Gaikwad (Inactive) logged work - 01/Dec/17 01:41 PM
            • Time Spent:
              4.5h
               
              • Issue analysis
              • Implementation
              • Unit and impact testing
            khandu.kshirsagar Khandu Kshirsagar (Inactive) made changes -
            Item State Parent values: Development(10200)Level 1 values: Ready for Local Testing(10209) Parent values: LB QA(10201)Level 1 values: LB Deployed(11600)
            sachin.hingole Sachin Hingole (Inactive) made changes -
            Item State Parent values: LB QA(10201)Level 1 values: LB Deployed(11600) Parent values: LB QA(10201)Level 1 values: In Testing(10210)
            sachin.hingole Sachin Hingole (Inactive) made changes -
            Status In Development [ 10007 ] Local Testing [ 10200 ]
            sanjana.jadhav Sanjana Jadhav (Inactive) logged work - 08/Dec/17 12:39 PM
            • Time Spent:
              0.5h
               

              Verified on codemap.

            sanjana.jadhav Sanjana Jadhav (Inactive) made changes -
            Attachment NF-5303.png [ 69689 ]
            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
            sanjana.jadhav Sanjana Jadhav (Inactive) made changes -
            Item State Parent values: LB QA(10201)Level 1 values: In Testing(10210) Parent values: LB QA(10201)Level 1 values: On Hold(10211)
            sanjana.jadhav Sanjana Jadhav (Inactive) made changes -
            Remaining Estimate 4.5h [ 16200 ] 4h [ 14400 ]
            Time Spent 4.5h [ 16200 ] 5h [ 18000 ]
            Worklog Id 95377 [ 95377 ]
            khandu.kshirsagar Khandu Kshirsagar (Inactive) made changes -
            Item State Parent values: LB QA(10201)Level 1 values: On Hold(10211) Parent values: Stage QA(10202)Level 1 values: Stage Deployed(11602)
            kunal.kedari Kunal Kedari (Inactive) logged work - 14/Dec/17 06:00 PM
            • Time Spent:
              0.75h
               

              Fix verification on Preprod

            kunal.kedari Kunal Kedari (Inactive) made changes -
            Attachment PreProd_Pass_NF-5303.jpg [ 70113 ]
            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
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Item State Parent values: Stage QA(10202)Level 1 values: Stage Deployed(11602) Parent values: Stage QA(10202)Level 1 values: In Testing(10214)
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Status Local Testing [ 10200 ] Stage Testing [ 10201 ]
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Item State Parent values: Stage QA(10202)Level 1 values: In Testing(10214) Parent values: Stage QA(10202)Level 1 values: Production Deployment on Hold(10224)
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Remaining Estimate 4h [ 14400 ] 3.25h [ 11700 ]
            Time Spent 5h [ 18000 ] 5.75h [ 20700 ]
            Worklog Id 98538 [ 98538 ]
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Remaining Estimate 3.25h [ 11700 ] 3h [ 10800 ]
            Time Spent 5.75h [ 20700 ] 6h [ 21600 ]
            Worklog Id 108403 [ 108403 ]
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Attachment Pass_Prod_Image.JPG [ 74669 ]
            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
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Status Stage Testing [ 10201 ] Production Testing [ 10202 ]
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Resolution Bug Fixed [ 10402 ]
            Status Production Testing [ 10202 ] Production Complete [ 10028 ]
            kunal.kedari Kunal Kedari (Inactive) made changes -
            Status Production Complete [ 10028 ] Closed [ 6 ]
            kunal.kedari Kunal Kedari (Inactive) logged work - 15/Mar/18 05:00 PM
            • Time Spent:
              0.25h
               

              Fix verification on Production

            Transition Time In Source Status Execution Times
            Seema Gaikwad (Inactive) made transition -
            Open In Development
            2h 40m 1
            Sachin Hingole (Inactive) made transition -
            In Development In LB Testing
            5d 4h 18m 1
            Kunal Kedari (Inactive) made transition -
            In LB Testing Stage Testing
            8d 18h 34m 1
            Kunal Kedari (Inactive) made transition -
            Stage Testing In Production Testing
            89d 22h 50m 1
            Kunal Kedari (Inactive) made transition -
            In Production Testing Production Complete
            7s 1
            Kunal Kedari (Inactive) made transition -
            Production Complete Closed
            3s 1

              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