Uploaded image for project: 'Magnolia Test Framework'
  1. Magnolia Test Framework
  2. MGNLTEST-235

Cleanup fails to delete nodes with UTF8-chars in node-/file-name - failing silently!

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 1.3.2
    • 1.3.1

    Description

      This example from PagesCoreFunctionalTests#pageNodeWithUtf8Chars

      fails since 6.3-hackathon/site-removal.

      @Cleanup("website:/äëïöü")

       
      Fixture usually works. (It may fail in rare cases, but that could be a timing issue).

      (a) But Cleanup fails always - if the node name contains UTF8 characters.

      (b) And additional problem is that Cleanup fails silently.
      Cleanup must throw an exception if it fails!

      Related to (b)
      (c) Cleanup is called 2 times:

      • @beforeEach
      • @afterEach

      See info.magnolia.test.fixture.JcrFixture.
      Cleanup should be called only once  - @afterEach. That's actually a must, once (b) is fixed.

       

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                mduerig Michael Duerig
                cmeier Christoph Meier
                Foundation
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - Not Specified
                      Not Specified
                      Logged:
                      Time Spent - 2.5h
                      2.5h