I am using SAP Commerce 2011 and I have a WCMS site with 4 base stores, each having a different product catalog. I have also logic that lets the user select which base store he wants to see. Selecting a base store sets the related catalog version in session, using
DefaultCMSSiteService.setCurrentCatalogVersion.
This works well, but not in SmartEdit. The CMSSiteFilter calls the method getContextInformationLoader().initializePreviewRequest with every request. This gets the default product catalog of the WCMS site and set its active version in session, overriding my logic above. Therefore, I can not open the PDP in smartedit as a wrong catalog version is referenced.
I wonder why smartedit does not support such a standard scenario of having multiple base stores, eahc with different product catalog!
Any idea how to solve this?