Rich Text Links to Author Environment | Community
Skip to main content
robertt3523754
Level 2
Feb 22, 2019 3:08 PM UTC
Solved

Rich Text Links to Author Environment

We recently upgraded from AEM 6.0 to AEM 6.3.  We've run into a situation with links in rich text boxes.  Whenever we create a link to an asset (such as a PDF), and publish the page, the published site links to the asset on the author server.  I checked the jcr node and the link that is populated in the text property contains the full path rather than the relative path.  I'm sure that there's a configuration setting that I'm missing somewhere, but I can't find any documentation on what that is.  Any help is appreciated.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
robertt3523754
robertt3523754Accepted solution
Level 2
Feb 28, 2019 4:42 PM UTC

We have solved the issue!!!  Apparently we did not have all the latest patches installed.  Our system administrator just installed the latest service pack (6.3.3 I believe) and the problem is now resolved.  Thank you all for your help and advice!

20 replies

smacdonald2008
Level 10
Mar 1, 2019 4:05 PM UTC

I am happy to hear it is fixed.

Translate
robertt3523754
robertt3523754AuthorAccepted solution
Level 2
Feb 28, 2019 4:42 PM UTC

We have solved the issue!!!  Apparently we did not have all the latest patches installed.  Our system administrator just installed the latest service pack (6.3.3 I believe) and the problem is now resolved.  Thank you all for your help and advice!

Translate
robertt3523754
Level 2
Feb 28, 2019 2:52 PM UTC

It looks like the Day CQ Link Externalizer is just the default settings.  I checked our old server (AEM 6.0) where the links worked and it appears that nothing was setup before there either.

There are no config or config.author nodes under the projects themselves.  Here are the config nodes under system/config.

Translate
Gaurav-Behl
Level 10
Feb 28, 2019 1:31 AM UTC

SSL cert would not cause this issue. I've tested on a 6.4 author with SSL and I couldn't reproduce this behavior.

Could you share the screenshot of Day CQ Link Externalizer from /system/console/configMgr?

In addition to that, could you share the screenshots/configuration files under your project's code path -  /apps/<project_root>/config  and /apps/<project_root>/config.author etc.?

Translate
robertt3523754
Level 2
Feb 27, 2019 10:31 PM UTC

This is a new server.  It also happens across all three tiers (dev, qa, and prod).

Translate
smacdonald2008
Level 10
Feb 27, 2019 10:27 PM UTC

Can you please try your issue on a fresh AEM Server and see if you can reproduce.

Translate
robertt3523754
Level 2
Feb 27, 2019 10:16 PM UTC

It looks like the Apache Felix settings are just the default settings.  I'm beginning to wonder if the ssl cert was maybe setup and configured wrong.  Could that cause the issue that we're having?

PID = org.apache.felix.http

  BundleLocation = launchpad:resources/install/5/org.apache.felix.http.jetty-3.4.0-B002.jar

  org.apache.felix.http.context_path = /

  org.apache.felix.http.enable = true

  org.apache.felix.http.host = 0.0.0.0

  org.apache.felix.http.jetty.acceptors = -1

  org.apache.felix.http.jetty.headerBufferSize = 16384

  org.apache.felix.http.jetty.maxFormSize = 204800

  org.apache.felix.http.jetty.requestBufferSize = 8192

  org.apache.felix.http.jetty.responseBufferSize = 24576

  org.apache.felix.http.jetty.selectors = -1

  org.apache.felix.http.jetty.sendServerHeader = false

  org.apache.felix.http.jetty.threadpool.max = -1

  org.apache.felix.http.mbeans = false

  org.apache.felix.http.name =

  org.apache.felix.http.path_exclusions = [/system]

  org.apache.felix.http.session.timeout = 0

  org.apache.felix.http.timeout = 60000

  org.apache.felix.https.clientcertificate = none

  org.apache.felix.https.enable = false

  org.apache.felix.https.jetty.ciphersuites.excluded = []

  org.apache.felix.https.jetty.ciphersuites.included = []

  org.apache.felix.https.jetty.protocols.excluded = []

  org.apache.felix.https.jetty.protocols.included = []

  org.apache.felix.https.jetty.renegotiateAllowed = false

  org.apache.felix.https.jetty.session.cookie.httpOnly = true

  org.apache.felix.https.jetty.session.cookie.secure = false

  org.apache.felix.https.keystore =

  org.apache.felix.https.truststore =

  org.apache.felix.proxy.load.balancer.connection.enable = false

  org.eclipse.jetty.servlet.CheckingRemoteSessionIdEncoding = true

  org.eclipse.jetty.servlet.MaxAge = -1

  org.eclipse.jetty.servlet.SessionCookie = JSESSIONID

  org.eclipse.jetty.servlet.SessionDomain =

  org.eclipse.jetty.servlet.SessionIdPathParameterName = jsessionid

  org.eclipse.jetty.servlet.SessionPath =

  org.osgi.service.http.port = 4502

  org.osgi.service.http.port.secure = 433

  service.pid = org.apache.felix.http

Translate
robertt3523754
Level 2
Feb 27, 2019 6:36 PM UTC

It doesn't look like I'm able to upload the zip file.  Are there any particular portions that I can just copy and paste for you?

Translate
Gaurav-Behl
Level 10
Feb 22, 2019 10:04 PM UTC

I tried with '/libs/foundation/components/text' and '/apps/core/wcm/components/text/v2/text' and couldn't reproduce it.

Check for the project customization as mentioned above.

the screenshot that you've shared above mentions SSL enabled hostname which is probably configured in 'Apache Felix Jetty Based Http service" and that could potentially be responsible for re-writing these links along with some other configuration.

Translate
smacdonald2008
Level 10
Feb 22, 2019 9:57 PM UTC

Using the Core Text Component (you should use that as opposed to the Foundation Text Component) - you will see:

Translate