Unable to create Offline Symbol Table for multiple connections

Issue #291 resolved
Pandeli Kolomitro created an issue

I utilize multiple connections for my project since I need to push code into multiple Orgs.

I am able to generate the Offline Symbol table when I add my first connection. There is no way for me, however; to generate additional symbol tables for my other connections (unless I manually edit the illuminatedCloud.xml file.)
I get the following error: At least one module must be associated with connection "connection_name" (no idea how to modify the module association.)

The issue rally becomes problematic when I need to remove a connection from my project and that connection is the one I used to generate the Offline symbol table.

It seems the only solution is to reconfigure the illuminatedCloud.xml or create a new project altogether. I do not exclude the possibility of me doing something wrong, but most likely it is a bug. Either way I hope you can help.

Cheers!

Comments (4)

  1. Scott Wells repo owner

    Thanks for the report. Yeah, this is a bug...well, more of an oversight because of the way that connections and modules were originally designed to be coupled, but based on how connections can now be used for targeted deployment as you're doing, the oversight becomes an impediment.

    There is a pretty easy workaround, though:

    1. Go into Settings>Illuminated Cloud ([projectName])
    2. For each configured connection:
      1. Make sure that the Advanced section is expanded
      2. Change the Module drop-down value to your Illuminated Cloud module
      3. Click the Generate button
      4. Change the Module drop-down back value to <Select>
    3. Once this is done for each, change back to your primary connection and associate your module with that connection.

    I understand that this is cumbersome and very much a workaround, but if should allow you to do what you want without editing XML files until I can address the issue first-class.

  2. Pandeli Kolomitro reporter

    Thank you for the quick reply Scott! The above steps are a lot better than having to modify the xml file. It is hard to notice the module is a drop down list till you click on it :).

  3. Scott Wells repo owner

    I believe this should have been remedied by the changes to make connection global some time back. If it's still causing workflow inefficiencies for you, please feel free to reopen and let me know the details.

  4. Log in to comment