Retrieve Metadata (Selected) does not fetch Lightning Component Bundle metadata

Issue #183 resolved
Vivek M. Chawla created an issue

When using the "Retrieve Metadata (Selected)" feature, attempting to fetch Lightning Component or App Bundles results in zero files being downloaded.

I tried this by trying to fetch individual component bundles by checking the box by the component's name, as well as all lightning component bundles (by checking the box next to "Aura").

NOTE: The problem is with downloading metadata that is already in my local project, so this is unrelated to the issue where "new" metadata is not fetched from the org when trying to pull from a folder (eg. classes or pages).

If I do a project or module request, the lightning component bundle files come in correctly.

Comments (8)

  1. Scott Wells repo owner

    Can you send a scrubbed version of your .iml file? I was just doing this today and it seemed to work fine, so let me see what might be different between our configs.

  2. Scott Wells repo owner

    Got it. Thanks! It looks like you've selected a specific bundle. Can you try to select the entire metadata type (AuraDefinitionBundle) and see if the retrieve works? This could be another one just like deployment where the granularity is a little different with Aura bundles than with other metadata types. While you do that, I'm going to try a few things on my side as well.

  3. Scott Wells repo owner

    Yep, that seems to be it. It looks like it's actually a bug on my side so I'll keep this issue open to cover it, but the workaround for now is to select the entire AuraDefinitionBundle metadata type in your selection. Let me know if that doesn't act as an effective workaround for you and I'll see if I can address the issue that's preventing more fine-grained selection.

  4. Scott Wells repo owner

    Or I may have spoken too soon. I think I'm reproducing your original issue. I have everything selected for the metadata type in the module contents selection but it doesn't come up as selected in the retrieval window when I choose Project or Module. Something's causing the former to filter it out. I'll dig in a little more later this evening. I can't imagine this one will be difficult to address.

    You're going to have me adding rudimentary Lightning Components support ahead of schedule!

  5. Scott Wells repo owner

    Found and fixed locally. I'd prefer to bundle this (pun semi-intentional) with some other changes I'll be making instead of throwing another minor update out there to the world, especially since there are only a few folks using IC for Lightning work right now. My guess is a couple of days unless another widely-applicable blocker is found that accelerates that. If you'd like a pre-release build to get you unstuck, I'm happy to provide one. Just let me know.

  6. Vivek M. Chawla reporter

    Hi Scott. Glad you could track this down so quickly. No rush from my side for getting this fix pushed out. I'm just happy to help track down bugs while I'm getting used to IDEA / IC. :-)

    Thanks, Vivek

  7. Log in to comment