Jump to content

Recommended Posts

Posted

Hi @bernhard,

on v6.9.0 if RM, with ProCache installed, the Cache Status setting does not migrate correctly.

image.png.1c734b7ca5ea6f2d8ad4120329949b90.png

In the template migration file (using config migrations), we have 

image.png.6fb7858cdbebfc0e1e08fa879673d5da.png

'_cache_status' => '2' was copied from the GUI with shift+click. also value as int 2 is not working.

However, when doing a migration, the Cache Status is set to Enabled (template cache)

image.png.262378a11c885e938c1298e15d270647.png

Is this a known limitation of RM? Or 

Posted

Hey @gebeer unfortunately these migration properties do not work 100%. They work most of the time but not always. The code field and shift-click feature are supposed to be helpers, but you always have to confirm that it works. Some props can be used as they are, some props need transformers in RM and already have them and some might be missing.

If you find any we might add an exception to the getCode() method or maybe somewhere else, I'm not 100% sure atm: https://github.com/baumrock/RockMigrations/blob/883b9e8f3bed37728fa1666514ae22042344681f/RockMigrations.module.php#L1852

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...