Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-9882

better error message when trying to delete a subfile

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.2.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      Dataland Dev

      Description

      I believe this is related to the fix in
      HPCC-9802 Delete logical file using removeEntry(), not detach()

      A user in dataland running 4.0.0-9 was attempting to delete a subfile that was attached to a superfile, through eclwatch. The ESP only returned the following to the user:

      Action status:
      Failed to delete thor_data400::in::martindale_hubbell::20121002::data@thor40_241_7

      Looking in the esp.log, I see the esp giving a better error, but it isn't passed to the user:

      0011E813 2013-08-21 13:55:07.948 27856 19868 "ERROR: Error while deleting thor_data400::in::martindale_hubbell::20121002::data: [ -1: Can't remove thor_data400::in::martindale_hubbell::20121002::data: Cannot remove file thor_data400::in::martindale_hubbell::20121002::data as owned by SuperFile(s): thor_data400::in::martindale_hubbell::sprayed::data] "

        Attachments

          Activity

            People

            • Assignee:
              wangkx Kevin Wang
              Reporter:
              rwagner42 Russell Wagner
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: