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

Improve AbstractI18nContentSupport#hasProperty performance

XMLWordPrintable

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

      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.

        Acceptance criteria

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

                Created:
                Updated:

                  Task DoD