SlingHttpServletRequest setAttribute/get is empty on one of the boxes | Community
Skip to main content
Peter_Puzanovs
Community Advisor
Community Advisor
October 16, 2015
Solved

SlingHttpServletRequest setAttribute/get is empty on one of the boxes

  • October 16, 2015
  • 1 reply
  • 1137 views

In multiple places on different Servlets setAttribute("nameOfTheAttribute", "value") is used. Recently, on one of the Publish instances when we call ${nameOfTheAttribute} publisher returned empty value.

Does CQ5 has config property that disallows setting attributes on SlingHttpServletRequest ?

Thanks,

Peter

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

AFAICT, there is not such a config property. May be there could be issues in the request context or some exception. Ideally request context works.

1 reply

gopalKaAdobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

AFAICT, there is not such a config property. May be there could be issues in the request context or some exception. Ideally request context works.