cod_session isn't reverting after fresh install because the file field is adding additional info not in the feature. Just needs to be recreated with the code:

+	'foreign keys' => array(
+	'fid' => array(
+	'columns' => array(
+	'fid' => 'fid',
+	),
+	'table' => 'file_managed',
+	),
+	),

Comments

ezra-g’s picture

Title: cod_session file field missing export code » COD_Session overidden on a fresh install due to missing array keys

Slightly more descriptive title.

ezra-g’s picture

Title: COD_Session overidden on a fresh install due to missing array keys » COD_Session overidden on fresh install
japerry’s picture

Priority: Normal » Minor
Issue summary: View changes
Issue tags: +COD 7.x-1.x Beta 3 Radar

Bumping up to the beta3 radar. I still see this happen periodically, its minor but annoying.

  • japerry committed 31f9e62 on 7.x-1.x
    Issue #2003836 and #2295951 by japerry: Include an update path for...
  • japerry committed 750169d on 7.x-1.x
    Issue #2003836 by japerry: Fix foreign keys feature overridden. (...
  • japerry committed befe795 on 7.x-1.x
    Issue #2003836 by japerry: Fix foreign keys feature overridden for...
japerry’s picture

Status: Active » Needs work

After committing an upstream patch in our makefile for entity reference, and then patching the features that use foreign keys, I think this issue is nipped in the bud.

And of course as I leave this comment in my browser I find that indeed it still doesn't work. Sigh.

japerry’s picture

Basically documenting this as I go through, it looks like features enabled manually will have the overridden state, but you can revert them and the feature will stick.

We might be able to do a workaround that automatically reverts the feature after its loaded. either way its pretty minor for now.

  • japerry committed 750169d on 2281453-cod-drag-n-drop
    Issue #2003836 by japerry: Fix foreign keys feature overridden. (...
  • japerry committed 31f9e62 on 2281453-cod-drag-n-drop
    Issue #2003836 and #2295951 by japerry: Include an update path for...
  • japerry committed befe795 on 2281453-cod-drag-n-drop
    Issue #2003836 by japerry: Fix foreign keys feature overridden for...

  • japerry committed 750169d on 7.x-2.x
    Issue #2003836 by japerry: Fix foreign keys feature overridden. (...
  • japerry committed 31f9e62 on 7.x-2.x
    Issue #2003836 and #2295951 by japerry: Include an update path for...
  • japerry committed befe795 on 7.x-2.x
    Issue #2003836 by japerry: Fix foreign keys feature overridden for...

  • japerry committed 750169d on 7.x-1.x
    Issue #2003836 by japerry: Fix foreign keys feature overridden. (...
  • japerry committed 31f9e62 on 7.x-1.x
    Issue #2003836 and #2295951 by japerry: Include an update path for...
  • japerry committed befe795 on 7.x-1.x
    Issue #2003836 by japerry: Fix foreign keys feature overridden for...