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

As a Web site user I do not want to be thrown developer exceptions

    XMLWordPrintable

Details

    Description

      We should try to standardize on "Sensible RunTimeExceptions" approach as already the case above the API a few places already where we basically:

      • in dev: throw
      • in prod: log error & do the sensible thing

      Example: Edge case content after a upgrade that has not been tested during development, which gives end users exception when the system could simply just return safe data and log a error in production mode instead.

      Affects:

      • FieldTypeNotFoundException : Can log error and return NullFieldType in prod
      • LimitationNotFoundException : Can log error and return BlockingLimitationType in prod

      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: