I have been looking fe_nodequeue module for few hours now.
I have been able to export nodequeues correctly, Auto generated code in exported files seems correct.

However when i export the feature to new installations, and try to enable to feature module, exported nodequeues are not imported.

Comments

mrfelton’s picture

Interesting. I dont even see Nodequeus as an option when creating a feature. I can see fe_blocks, but no nodequeues.

EDIT: Yes I do - I hadn't given my queue a machine name.

mrfelton’s picture

I am actually having this problem too. For me, neither fe_block settings or fe_nodequeues are being fully restored when enabling a feature. Manually reverting seems to fully restore things (nodequeues get created and block settings take effect)

wizonesolutions’s picture

Priority: Major » Minor

Deferring to toleillo - although this is minor because there's an easy and logical workaround.

Johnny vd Laar’s picture

StatusFileSize
new754 bytes

For blocks I saw that the hook_features_rebuild wasn't implemented. This patch fixes this

James Andres’s picture

+1 features_extra.patch works well for me, however I won't mark this RTBC because it is unrelated to the OP's nodequeue issue. Perhaps this should be split into two tickets?

benedictsteele’s picture

Status: Active » Needs review
StatusFileSize
new518 bytes

The following function was missing from fe_nodequeue.module


function fe_nodequeue_queue_features_rebuild($module) {
  fe_nodequeue_queue_features_revert($module);
}

The attached patch fixes the issue for me.

BrockBoland’s picture

Status: Needs review » Needs work

The patch in #6 doesn't work. The fe_nodequeue module (at this point, anyway) already implements fe_nodequeue_features_rebuild(), which is the correct name of the function (the patch implements fe_nodequeue_queue_features_rebuild()).

The patch from #4 should be rolled into whatever becomes the final patch. Note that I haven't tested that patch, but the fix will need to be included.

BrockBoland’s picture

Status: Needs work » Needs review
StatusFileSize
new620 bytes

Added fe_nodequeue_features_enable_feature(). That seems to be the correct name for the enable hook, as far as I can tell. In any case, it runs when the module is enabled, so it works for me.

The block issue addressed in #4 is not included. This should probably be spun off into an issue of its own.

damienmckenna’s picture

Bump.

pfrenssen’s picture

Priority: Minor » Normal
Status: Needs review » Fixed

#4 has already been addressed in #1623480: missing hook_features_rebuild() implementations.. #8 has now been committed to 7.x-1.x: d8712a2.

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.