When you link a field that is within a fieldgroup to a book node, the field is not correctly exported. It is exported with it's key as:

form_id:fieldname

but should be

form_id:fieldgroup:fieldname

So, the help popup link never appears because the key does not match.

Comments

chrisschaub’s picture

Anybody else seeing this?

chrisschaub’s picture

Status: Active » Closed (won't fix)

This is not a bug, sorry.

alcretaz’s picture

Status: Closed (won't fix) » Active

I have experienced the same issue.
I exported the help into a new module and activated it but the help links didn't appear for me.
Using the dbm function of the devel module I was able to establish that some of the fields weren't there, which I was able to rectify by changing the weight of the module itself.
However some of the fields were part of fieldgroups and weren't called.

The fields worked with the helpinject module activated, so I used dbm again to identify the correct name of the field group and inserted it into the exported module.

All working from there.

Is it possible to make the export function associate fields within a group correctly?

chrisschaub’s picture

It will if you get your weights just right.

db_query("UPDATE {system} SET weight = 99 WHERE type = 'module' AND name = 'helpinject'");

I also set the weight of each exported help module to do the same. That was the trick.