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

Improve error message during Activation without a running author instance .

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • 4.4.6
    • activation
    • None

    Description

      When activating content without a started Author instance, the error message should be clearer to the end user.
      The error message should hint user that public instance might not be running.

      CURRENT OUTPUT
      2012-03-02 08:25:50,182 ERROR info.magnolia.module.exchangesimple.ExchangeTask  : Failed to deactivate content.
      info.magnolia.cms.exchange.ExchangeException: Not able to send the activation request [http://localhost:8080/magnoliaPublic/.magnolia/activation]: cannot retry due to redirection, in streaming mode
              at info.magnolia.module.exchangesimple.BaseSyndicatorImpl.activate(BaseSyndicatorImpl.java:431)
              at info.magnolia.module.exchangesimple.SimpleSyndicator$2.runTask(SimpleSyndicator.java:103)
              at info.magnolia.module.exchangesimple.ExchangeTask.run(ExchangeTask.java:75)
              at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
              at java.lang.Thread.run(Thread.java:680)
      Caused by: java.net.HttpRetryException: cannot retry due to redirection, in streaming mode
              at sun.net.www.protocol.http.HttpURLConnection.followRedirect(HttpURLConnection.java:2068)
              at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1367)
              at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2308)
              at info.magnolia.module.exchangesimple.BaseSyndicatorImpl.transportActivatedData(BaseSyndicatorImpl.java:445)
              at info.magnolia.module.exchangesimple.BaseSyndicatorImpl.activate(BaseSyndicatorImpl.java:399)
              ... 4 more
      2012-03-02 08:25:50,188 ERROR fo.magnolia.module.exchangesimple.SimpleSyndicator: Not able to send the activation request [http://localhost:8080/magnoliaPublic/.magnolia/activation]: cannot retry due to redirection, in streaming mode
      info.magnolia.cms.exchange.ExchangeException: Not able to send the activation request [http://localhost:8080/magnoliaPublic/.magnolia/activation]: cannot retry due to redirection, in streaming mode
      

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              pbaerfuss Philipp Bärfuss
              ehechinger Eric Hechinger
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD