[MAGNOLIA-3988] Improve error message during Activation without a running author instance . Created: 02/Mar/12 Updated: 10/Jul/13 Resolved: 10/Jul/13 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | activation |
| Affects Version/s: | 4.4.6 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Eric Hechinger | Assignee: | Philipp Bärfuss |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Description |
|
When activating content without a started Author instance, the error message should be clearer to the end user. 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
|