Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-26683

Make IO exceptions more user friendly

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: High High
    • 1.7.0-rc1
    • 1.6.1
    • None
    • None

    Description

      InvalidBinaryFileIdException are currently rather cryptic:
      1. It does not currently add "message" argument to the string given to user which is intended to give some context info.
      2. Prefix miss match does not give any indication that prefix is wrong, and just says the binary file id is wrong (while it's most likely misconfigured prefix => var_dir setting)

      Example: Person upgrading and merging in changes for var_dir setting on mistake, getting exception that does not give any clue to what went wrong.

      Attachments

        Activity

          People

            Unassigned Unassigned
            andre.romcke-obsolete@ez.no André Rømcke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: