Expand my Community achievements bar.

SOLVED

SlingHttpServletRequest setAttribute/get is empty on one of the boxes

Avatar

Community Advisor

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

1 Accepted Solution

Avatar

Correct answer by
Employee

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.

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

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.