I am experiencing a very weird thing and I hope someone can shine some light on what may be happening.
For example: I have two features. One contains a menu with a few links. This one is enabled by my installation profile. I have a second feature that contains a menu link to add to the menu created by feature #1. The weird thing is that this link appears before the second feature is enabled!
Nowhere in the code of feature #1 is there any reference to the link of feature #2. If to be sure I manually
delete the link and recreate the first feature and create the second one from scratch, the same thing keeps happening.
When I create the first feature from scratch, add the menu link to its menu, export it with a new second feature, and create a whole new site (remember the first feature is completely untouched) I again get my menu link immediatly when the install finishes. Before I even view the sisabled second feature that actually contains the link.
When I manually delete the link after it wrongfully appears, it seems to work as intended. Through enabling and disabling the second feature the links comes and goes.
I am completely baffled by the question of how the first feauture has a memory of a manually added link that is not in any way included in its code. It has only be a part of its menu to be included in feature #2 and feature #1 was never recreated once that one was exported.
I checked on different machines and browsers to see if this is caused by temporary browser stuff but no, the link that can't be is really there.
What I am wondering about though, is the fact that the address the link points to also exists in the admin menu. But since the second feature has no problem adding the link that does not appear to be a problem. And besides, there is no information on the link in the first feauture anyway!
The link by the way, points to admin/settings/FAQ but the same thing happens when I point it to somewhere else in the admin section. If I create 3 features, 1 to implement the menu's, the second to add to those several links to admin pages it all works. But when a third feature is present to add an additional link, it appears prematurely (before I enable the third feature).
I am really lost because this is defying the laws of nature as far as I can tell.
I'm very curious to hear any thoughts, thanks in advance!