Unable to Change Lightning Bundle version settings

Issue #637 resolved
Eric Alexander created an issue

Opening the aura meta.xml files and changing the API version does not seem to mark the file as dirty as it refuses to save even with a force save. Opening both the meta.xml and related code file, changing the API version in the meta.xml and then saving the code file does not update the API version in SF.

So far I do not see a way within IC to update the API version of an aura bundle except for the dev console in SF

Comments (6)

  1. Scott Wells repo owner

    Yeah, the reason that it's not pushing to the server is that when the Tooling API is used for Lightning, the meta.xml file doesn't ever come into play. IC just makes a REST PATCH call to the Tooling API with the individual Lightning bundle file. You can work around this by deploying more than one file from the bundle which will use the Metadata API. Right-click on the bundle directory and use Illuminated Cloud>Deploy All Files. I'll keep this issue open to make it so that when you save the meta.xml file for a Lightning bundle or static resource, it uses the Metadata API to deploy the bundle.

  2. Scott Wells repo owner

    This should have been addressed quite a bit back. If it's still an issue, please feel free to reopen, though.

  3. Log in to comment