Skip to main content
shubhamg9400285
New Participant
May 29, 2019

Context hub not working on publish environment?

  • May 29, 2019
  • 25 replies
  • 16781 views

Hi,

I am using context hub for personalization in a component.

for that, I created an audience for chrome users and Firefox users and the activities and so on.

So I authored different content for "default", chrome and firefox audience.

So it is working well and as expected on the author instance.

But when I view the page on PUBLISH environment it is showing default content only and not chrome or firefox content.

Tested on both AEM 6.4 and 6.5

P.S. I have activated page, audience, activities everything.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

25 replies

New Participant
October 23, 2019

I had the same issue in 6.5 version. It was working in author but not in the publish.

Once I restarted the instance it started working.

As timmy-mathew​ said, Adobe had released a service pack on 19th September,2019.

Once I have installed this package it got solved. Working in both author and publish without any restart.

Link to download Service pack:

https://www.adobeaemcloud.com/content/marketplace/marketplaceProxy.html?packagePath=/content/companies/public/adobe/pack…

Release Notes:

AEM 6.5 Service Pack Release Notes

New Participant
September 29, 2019

shubhamg94002854​, does it work for you? Could you mark it as Answered or Unanswered so others know if this issue is fixed or not ?

Cheers,

Timmy Mathew

New Participant
September 29, 2019

Hi manvig66636792​, Not sure if you have the same issue as others had on this thread. The fix I provided was for mainly for 6.4 and not tested for 6.5. Adobe included this fix for their next release which might have got released in September. So you can check the latest service pack or cumulative fix pack available and see if it still works.

Some other context :
Please check if in the page properties of your root page you have configured the /conf/<configuration> in the advaced tab else it will point to the old location from /etc. If its possible to create a video and upload to a drive or dropbox can you share a link of how you configured it so I know you didn't miss anything.

Also read through the above comments and make sure you have the same issue as others else it could be something else which needs to be looked upon.

The link for daycare ticket is logged with a company account so you won't be able to see without proper credentials.

Cheers,

Timmy Mathew

manvig66636792
New Participant
August 22, 2019

Hi Timmy,

  I am facing the same issue on publish. I installed your package on aem 6.5 and SP1 version and its not working for me. Do i have to do some extra configuration to make it work on publish instance ?

Variants information in the teaser doesn't show the correct information. It only displays the default content. Ideally, it should have the information about both targeted  and default content.

Also, could you provide me the link for the daycare ticket ?

Thanks,

Manvi

New Participant
August 22, 2019

Don't forget to mark it answered if it works for you will help others looking for the similar issue.

shubhamg9400285
New Participant
August 22, 2019

Thanks a lot Timmy Mathew

New Participant
August 22, 2019

Hi shubhamg94002854alissonxavier0105suniln13212398​,

         I create a daycare ticket and they acknowledged that there was an issue at the publish. They will release the fix with the next cumulative pack somewhere in September, 2019. Meanwhile for testing purpose they sent me a code fix package which if you install via the crx/packmgr works fine for me.

I'm attaching the code fix for 6.4 (I haven't tested it yet with 6.5) but its soley for testing purpose and adobe doesn't recommend to use it on production though the fix works fine they want to launch it official release

This message box doesn't allow me to upload the zip file so I've uploaded it to the drive.

https://drive.google.com/open?id=1EXFwqABYTUJG-UTbi63Y2RUYuAGjY1dm

Hope this helps

New Participant
August 21, 2019

Hi timmymathew

I am facing the issue with AEM 6.3 SP3 its fine with SP2, It would be helpful if you share the resolution

New Participant
August 13, 2019

Hi timmymathew

Any update about the ticket? I have had this same problem and I have resolved when I restarted the publish instance.

New Participant
June 6, 2019

Sure I will.