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

Make IO exceptions more user friendly

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 1.6.1
    • Fix Version/s: 1.7.0-rc1
    • Component/s: None
    • Labels:
      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

            Assignee:
            Unassigned
            Reporter:
            andre.romcke@ez.no André Rømcke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: