Ticket #3423 (closed: worksforme)

Opened 9 years ago

Last modified 5 years ago

Crash when attempting to load file without permission

Reported by: Nick Draper Owned by: Roman Tolchenov
Priority: critical Milestone: Release 2.0
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Peter Parker

Description

look at alg and then untitled

Attachments

alg.png (27.6 KB) - added by Nick Draper 9 years ago.
Untitled.png (16.0 KB) - added by Nick Draper 9 years ago.

Change History

Changed 9 years ago by Nick Draper

Changed 9 years ago by Nick Draper

comment:1 Changed 9 years ago by Roman Tolchenov

  • Status changed from new to accepted

comment:2 Changed 9 years ago by Roman Tolchenov

  • Status changed from accepted to verify
  • Resolution set to fixed

In [13648]:

Fixes #3423

comment:3 Changed 9 years ago by Karl Palmen

  • Status changed from verify to verifying
  • Tester set to Karl Palmen

comment:4 Changed 9 years ago by Karl Palmen

  • Status changed from verifying to reopened
  • Resolution fixed deleted

I tested by modifying permission on a local file to no read permission and Mantid crahed when I attempted to load it.

comment:5 Changed 9 years ago by Nick Draper

  • Milestone changed from Iteration 30 to Iteration 31

Bulk move of tickets to iteration 31 at the iteration 30 code freeze

comment:6 Changed 9 years ago by Roman Tolchenov

  • Status changed from reopened to accepted

comment:7 Changed 9 years ago by Roman Tolchenov

  • Status changed from accepted to verify
  • Resolution set to worksforme

Tested the file from alg.png and a local file without read permission. Files don't get loaded but no crash.

comment:8 Changed 9 years ago by Peter Parker

  • Status changed from verify to verifying
  • Tester changed from Karl Palmen to Peter Parker

comment:9 Changed 9 years ago by Peter Parker

  • Status changed from verifying to closed

Attempted to load "\\data\hifi\HIFI00024457.nxs" via the Load dialog as per the original example, and "Cannot open file \\data\hifi\HIFI00024457.nxs: Access to file denied" is appended to log successfully.

Similar result with a local file with modified read permissions.

Testing for this ticket passed, except raising a minor defect to do with Load dialog box unresponsiveness (#4419).

comment:10 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 4270

Note: See TracTickets for help on using tickets.