FIELD_INTEGRITY_EXCEPTION when saving LWC in IntelliJ
Since installing version 2.1.9.3 I am getting FIELD_INTEGRITY_EXCEPTION’s when trying to save an LWC on objects that I haven’t even changed. It works for a while, and then, sometimes without even making a change, I can’t save it anymore. Restarting IntelliJ does not seem to help, restarting the machine, however, does. It fixes it every time, at least for a while….
Comments (4)
-
repo owner -
repo owner Hi, Dirk. Just checking in to see if you might be able to provide a log with this specific
FIELD_INTEGRITY_EXCEPTION
request/response pair in it. I'd really like to incorporate it into the heuristic employed by IC2 to ensure that you and others no longer see this instance of the same issue when deploying LWC via the Tooling API. -
repo owner - changed status to resolved
Resolving due to lack of information. Please feel free to reopen if/when providing logs demonstrating the specific instance of this issue.
-
repo owner - removed component
Removing component: IntelliJ IDEA (automated comment)
- Log in to comment
Hi, Dirk. Please see the first entry from the release notes about
#1589. You can work around this issue by disabling Tooling API-based deployment of LWC, but before you do so, can you please enable debug logging for metadata deployment, reproduce this issue, and either attach or email the resultingidea.log
so that I can address the remaining variant that you're encountering. My goal is to have 100% reliable deployment of LWC components with the Tooling API enabled, routing to the Metadata API in known corner-cases as appropriate, but otherwise providing a much faster deployment experience for LWC components than is otherwise possible. Thanks!