I am using several features packages. If package name begins with the letter < "T" this package don't showing in admin/structure/features (tab don't showing).
I am change 451 line at features.admin.inc
change ksort($form) to asort($form) and it work correct.
Is it correct solution?

CommentFileSizeAuthor
#8 features-1010618-8.patch684 bytesquade
#3 features-1010618 -1.patch850 bytesskilip

Comments

kevin p davison’s picture

asort() worked for me, and my feature starts with an "S" but does contain a "T": SKTA.

Bußmeyer’s picture

my feature starts with an "i". When I switch to asort everything works fine.

skilip’s picture

StatusFileSize
new850 bytes

The problem here lies with the 'packages' form element which is the 'vertical_tab' wrapper of all features. If ksort($form) places the form element after the feature element, the vertical_tab rendering will be broken. The attached patch solves this.

himerus’s picture

This patch wasn't working, but the solution in it did...
+1

avpaderno’s picture

@himerus: Do you mean you get an error message when you tried to apply the patch provided here? If it so, then the status should be changed to needs work.

himerus’s picture

Status: Needs review » Needs work

Yes, apologies, I couldn't get the patch to apply cleanly.

The contents were simple enough though I just applied it manually, and it did work. Don't have time at the moment to re-roll.

quade’s picture

StatusFileSize
new684 bytes

I have rerolled the patch from #3 so that it'll apply cleanly for others. Thanks for the original solution, skilip.

ptrl’s picture

Patch in comment #8 solves my problem with features beginning with the letter S not showing up.

shawn_smiley’s picture

I can also confirm that the patch in #8 resolves the issue with features not showing up in the list.

rasskull’s picture

Awesome, the patch in #8 does indeed resolve the issue for me as well

jide’s picture

Status: Needs work » Reviewed & tested by the community

Works for me too, setting as RTBC.

goldlilys’s picture

Thanks changing ksort to asort worked for me.

boobaa’s picture

#8 works for me, too.

irakli’s picture

Status: Reviewed & tested by the community » Closed (fixed)

I believe the latest code in HEAD for D7 has code that is [different but] equivalent of the code in the patch. Tested the HEAD with the description of the problem and the problem could not be reproduced, so closing the issue.

Thank you.

emarchak’s picture

Status: Closed (fixed) » Active

I'm on the latest 7.x-dev release, and none of these patches can be applied, nor can I manually edit admin.inc to solve this issue. Halp?

mpotter’s picture

Status: Active » Closed (cannot reproduce)

Closing this for lack of activity. Please re-open this issue if you can reproduce it in the latest version.

emarchak’s picture

Issue summary: View changes

I would like to add that it's been five years, and I just ran into this problem again on features 7.x-2.7 There's an XKCD for this.

I found that there was an entry in the system table for my missing feature, but deleting that entry doesn't correct it. Reinstalling the entire site from scratch works sporadically.