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

AreaElement should ignore autogeneration problems on versioned nodes - provide details on others

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.5.10
    • 4.5.9
    • None
    • None

      As integration tests show, we sometimes run into a problem trying to auto generate AreaElements:

      Parsing log /Users/daniellipp/Documents/git/mgnl_5.0/ce-bundle/magnolia-integration-tests/tests/target/java-io-tmpdir/Jetty_0_0_0_0_8088_magnolia.test.public.webapp.5.0.SNAPSHOT.war__magnoliaTestPublic__upicm4/webapp/logs/magnolia-error.log
      ========================================
      ERROR  info.magnolia.templating.elements.AreaElement 06.06.2013 07:38:05 -- ignoring problem w/ creating area in workspace website for node a1154bb9-2f0f-4e17-ad31-2c1f5959c175
      1 errors!
      

      In fact we should distinguish: if we get RepositoryException trying to generate AreaElement on versioned node we can gracefully ignore it - if it's happening for "normal" nodes it might point to a severe problem and we need to have the full details (e.g. stack trace) in the logs.

        Acceptance criteria

              dlipp Daniel Lipp
              dlipp Daniel Lipp
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD