context.setPlid(layout.getPlid());
context.setOldPlid(layout.getPlid());
context.setScopeGroupId(scopeGroupId);
context.setScopeLayoutId(scopeLayoutId);
boolean[] exportPortletControls = getExportPortletControls(
<BUG>context.getCompanyId(), portletId, context, parameterMap);
_portletExporter.exportPortlet(
context, layoutCache, portletId, layout, portletsEl,
</BUG>
defaultUserId, exportPermissions, exportPortletArchivedSetups,

context.setPlid(layout.getPlid());
context.setOldPlid(layout.getPlid());
context.setScopeGroupId(scopeGroupId);
context.setScopeLayoutId(scopeLayoutId);
boolean[] exportPortletControls = getExportPortletControls(
companyId, portletId, context, parameterMap);
_portletExporter.exportPortlet(
context, layoutCache, portletId, layout, portletsElement,
defaultUserId, exportPermissions, exportPortletArchivedSetups,
