Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-3910

UpdaterEngine swallows exceptions

    XMLWordPrintable

Details

    Description

      Hi,

      In our project, we are currently working very hard to implement some updater modules that will upgrade our content from CMS 2.09.06 to 2.12.05.
      We use the UpdaterItemVisitor.QueryVisitor to apply changes to nodes that match a given query.

      Running the query that finds nodes on a given path of type hippo:handle, hippostd:directory, hippostd:folder with the repository tool, returns 440 results.
      Our updatermodule that registers a UpdaterItemVisitor.QueryVisitor with the exact same query, eventually affects 432 nodes...

      Why?

      After some debugging we found the following:

      The UpdaterEngine, line 819-843 happily swallows exceptions such as PathNotFoundException, InvalidItemStateException, ItemNotFoundException.
      Additionally, these exception are not logged.

      This really does not help debugging any problems/bugs that are present, such as: CMS7-3911

      Please address this.

      Regards,

      Rob

      Attachments

        Activity

          People

            spelissier Sylvain PĂ©lissier (Inactive)
            rvooren Rob van der Linden Vooren (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: