Issue
- When a user creates a Basic Web Content and tries to type in a Tag, the Tags option disappears and the following error is shown in the logs:
No JSON web service action with path /assettag/search and method null for null
Environment
- Liferay DXP 7.4
Resolution
-
This behavior usually occurs when JSON Web Services is disabled, applying this property:
json.web.service.enabled=false
- The Category and Tag selectors are consumers of the JSON Web Service, and they won't work if it is not enabled.
-
If you want to limit the access to JSON Web Services as much as possible without losing OOTB functionalities, we would suggest the following configuration:
json.web.service.enabled=true
jsonws.web.service.api.discoverable=false
jsonws.web.service.paths.includes=/assetcategory/search,/assettag/search,/country/get-countries,/region/get-regions
Additional Information
Conteúdo Excluesivo para Assinantes
Uma Subscrição do Liferay Enterprise fornece acesso a mais de 1.500 artigos que incluem práticas recomendadas, solução de problemas e outras soluções valiosas. Faça login para obter acesso completo.
Entrar