Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-7434

Improve AbstractI18nContentSupport#hasProperty performance

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Neutral
    • None
    • 5.7.1
    • i18n
    • None

    Description

      info.magnolia.cms.i18n.AbstractI18nContentSupport#hasProperty checks the presence of the property by calling getProperty(javax.jcr.Node, java.lang.String) that throws an exception if the property does not exist.

      Exceptions are expensive (especially when having deep stack traces) in term of performance and the method hasProperty is called a lot.

      A new i18n supported 'hasProperty' implementation which consider to performance optimization is expected.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              viet.nguyen Viet Nguyen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Task DoD