if (hasValidFormatter) {
CmsResource formatter = cms.readResource(formatterUri);
elements.add(new CmsContainerElementBean(
element.getElementId(),
formatter.getStructureId(),
<BUG>element.getProperties()));

}</BUG>
} catch (Exception e) {
log(e.getLocalizedMessage(), e);

if (hasValidFormatter) {
CmsResource formatter = cms.readResource(formatterUri);
elements.add(new CmsContainerElementBean(
element.getElementId(),
formatter.getStructureId(),
element.getProperties(),
false));
}
} catch (Exception e) {
log(e.getLocalizedMessage(), e);
