Section

47 pages

Posts

How to add flexible search restriction for Product with custom session attribute and resolve all exceptions

OOTB hybris has a powerful “Flexible Search Restriction” system, which allows transparently restrict access to any hybris item type. Due to flexible search restrictions are implemented on a very low level of hybris ORM time to time unexpected issues can appear even for simple restrictions.

Tomcat 8.5.32 incompability issue

If someone uses custom tomcat for hybris, be aware that latest version of Tomcat 8.5.32 is not compatible with all versions of hybris and datahub due to implementation in Tomcat of Java EE v.8 specification(EE 5.3.3), which defines that deployment should fail if the lookup element of an annotation or the lookup-name element in a deployment descriptor entry does not specify a name with an explicit java: namespace. This breakable changes was added in apache tomcat commit. Accordint to tomcat’s bugzilla in next release this breaking changes will be reverted.

Improve test run in hybris

OOTB hybris provides ant unittests command to run unit and integration tests, which are pretty low level and requires additional configuration to simplify run and result collection for DevOps. Below you can find configuration for buildcallbacks.xml, which you can just copy-paste into any hybris project (version 6.0+) and significantly simplify DevOps job required for setup of CI/CD pipeline.
(1 - 5)
Enter Press Enter to jump