Uploaded image for project: 'Repository Tools'
  1. Repository Tools
  2. MGNLTOOLS-72

Adapt to JR 2.8 brought by Magnolia 5.3

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Critical Critical
    • 1.6
    • 1.5.1
    • None
    • Yes

      Obviously some method signature changed from JR 2.6 to 2.8 - that's why 1.5.1 of this tools module can no longer be used with Magnolia 5.3.

      Select repository tools, choose a workspace and select "clear workspace".
      It'll result in the following exception:

      Caused by: java.lang.NoSuchMethodError: org.apache.jackrabbit.core.SessionImpl.createDataStoreGarbageCollector()Lorg/apache/jackrabbit/core/data/GarbageCollector;
      	at info.magnolia.tools.commands.GarbageCollectorCommand.execute(GarbageCollectorCommand.java:50)
      	at info.magnolia.tools.app.ToolsPresenter.clearRepository(ToolsPresenter.java:56)
      	at info.magnolia.tools.app.ToolsViewImpl$1.buttonClick(ToolsViewImpl.java:53)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:622)
      	at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:508)
      
      

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Task DoR