Illuminated Cloud marking unmodified files as modified

Issue #734 resolved
Ken Jones created an issue

When I open a file for editing but do not modify it in any way it is still marked as modified when I select 'deploy modified metadata' and is deployed if I make use of deploy on save.

Shouldn't I only see modified metadata in the 'deploy modified metadata' dialog? Shouldn't I only have modified files being deployed when using deploy on save?

Thanks

Environment:

Windows 7 IntelliJ IDEA Community 2017.2.5 Illuminated Cloud 1.8.0.4-idea14 Java 1.8.0_144

Comments (4)

  1. Scott Wells repo owner

    Ken, when you run Deploy Modified Metadata, the resulting dialog shows you a view of all metadata in the request (which may be limited by context, selection,etc.) before running potentially expensive queries against the server to know which subset is actually stale relative to the server. That doesn't mean all of that is going to be deployed. It means that's what will be considered in the deployment and deployed if it's found to be out-of-date. After you click the OK button in that dialog it queries timestamp information for the metadata requested for deployment to decide which subset to include. In more densely-populated orgs that's a HUGE time-saver when deploying subsets of metadata because it doesn't have to inspect every metadata item in the project.

    Once the deployment operation completes, the Messages view shows exactly which metadata was deployed and which items succeeded vs. failed.

    I hope that provides an adequate explanation of how this works and why what you're seeing in the deployment dialog isn't necessarily what is considered modified and therefore deployed. Let me know if you have additional questions about this.

  2. Scott Wells repo owner

    Ken, I'm going to resolve this as working as designed, but if my explanation doesn't match your findings please feel free to reopen and let me know what you're seeing that's different from what I've described.

  3. Log in to comment