ccLink Omits Anchor Tags Causing Links to Not Work as Expected (Doc ID 2206100.1)

Last updated on NOVEMBER 27, 2016

Applies to:

Oracle Commerce Cloud Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

On an Oracle Commerce Cloud Service application release 16.4.2, anchor tags are not working as expected.

When a customer navigates to a page and uses an anchor in the URI, it loads as if the URI did not include the anchor.

The ccLink object is being used to create dynamic links.

Example

A ccLink is used to create a URL link at the bottom of the page, in the footer: oracle.com/foo#hello

Clicking the link, however, navigates only to the main page. The URL bar indicates: oracle.com/foo

Manually entering the anchor tag into the URL, however, after landing on the "foo" page, will bring the window to the anchor.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms