Gaurav Jain 9 Years Ago Hi Sven,Kudos to you, this is damn useful blog And this is so nicely covered and explained.Looking forward for the more details (maybe some guidance steps) on the case you mentioned --------When using asset publisher, don't choose a scope which is different than "Current site" or "Global" with staging. Your asset publisher won't work after publication any more because the group ids are different on the two environments. There are strategies to make it work but they are too complicated to be explained here :-)-------- Please sign in to reply. Reply as... Cancel Sven Werlen Gaurav Jain 9 Years Ago Thanks Gaurav!Regarding the asset publisher, I didn't include the instructions there because I know that Liferay will probably fix this "issue" in the next version. If you still want to do it in 6.2, here is the trick:1) Create as many sites as you think you'll need for the next X years.2) Duplicate the environment (copy BD + /data) in order to create your staging environment3) Now, you have Staging and Production that have sites with same group IDs. Your asset publisher will still work on production after publication because group ids will be the same.4) When you'll be out of sites, you'll have to redo the same technique: duplicate the production and re-create your staging environment. This is annoying, so better create enough sites in advance. Hopefully Liferay will change the AssetPublisher exporter such ids will properly be adapted during export/import. Please sign in to reply. Reply as... Cancel
Sven Werlen Gaurav Jain 9 Years Ago Thanks Gaurav!Regarding the asset publisher, I didn't include the instructions there because I know that Liferay will probably fix this "issue" in the next version. If you still want to do it in 6.2, here is the trick:1) Create as many sites as you think you'll need for the next X years.2) Duplicate the environment (copy BD + /data) in order to create your staging environment3) Now, you have Staging and Production that have sites with same group IDs. Your asset publisher will still work on production after publication because group ids will be the same.4) When you'll be out of sites, you'll have to redo the same technique: duplicate the production and re-create your staging environment. This is annoying, so better create enough sites in advance. Hopefully Liferay will change the AssetPublisher exporter such ids will properly be adapted during export/import. Please sign in to reply. Reply as... Cancel
Jose Francisco Pertuz Perez 4 Years Ago - Edited Thank you very much Please sign in to reply. Reply as... Cancel