Bugfix SUP-2922
The classes PortalCache and JCSPortalCache where initialized using static code blocks. This has been changed: both classes will now be initialized when they are used the first time (by using the constructor or when calling the static PortalCache#getCache method). This change makes it possible to change the “com.gentics.portalnode.confpath” system property dynamically before using the caches the first time. Additionally, getting the cache attributes of elements put into caches has been fixed to not return null (but the default element attributes) if the object was put into the cache without custom attributes before.