"Force Save" not working for Apex and VF Code when IC Plugin's "On Save" is configured to "Do Nothing"
When trying to "force save" a Trigger, nothing happens.
Here's what I did.
- There were no triggers in my org, so I right-clicked on the
src
folder in my project and selectedNew-->Package
, and then created a folder namedtriggers
. - I right clicked on the
triggers
folder and selected theNew-->Apex Trigger
option. - I implemented my trigger code
- I tried to deploy this single trigger file to the server using the Force Save feature.
- Nothing happened. No progress bar indicating a server roundtrip. No new entries in the Problems view. Nothing.
- Thinking that I may have used the wrong folder name or something (eg. maybe I shouldn't have called it
triggers
), I went to the Setup UI in my org and created a dummy trigger calledfooTrigger
. - I did a metadata retrieve on the triggers folder, and left the box checked to "Include Missing Metadata"
- The trigger
fooTrigger
was successfully downloaded and added to my project (hooray for this functionality working!) - Thinking that maybe there was just something wrong with the trigger that I tried to create locally, I tried to at least change
fooTrigger
to see if that works. No such luck. Same problem...nothing happens.
It should be noted that I have modified my Illuminated Cloud settings so that the "on save" behavior is "Do Nothing" for all three file types. This is because I want to work in a sort of "offline mode".
I only want to deploy to my org by using Force Save, or one of the IC Deployment commands. This functionality seemed to be working fine for layouts, but I haven't tested it for others yet. I'll have to see if more than just Apex Triggers are not working correctly with Force Save.
Thanks, Vivek
Comments (7)
-
reporter -
reporter - changed title to "Force Save" not working for Apex and VF Code when IC Plugin's "On Save" is configured to "Do Nothing"
-
repo owner Thanks for the details, Vivek. I'm on a business trip this week so my availability is pretty spotty. I'll take a look when I get a breather between sessions or, worst case, as soon as I get back home. I'll shoot for having a fix for this out in the next few days.
-
repo owner Okay, I'm back from a week-long business trip but not quite at 100% yet (got stuck overnight in Charlotte due to Snowmageddon and currently operating on ~3 hours of sleep). I'm going to organize this work alongside a few other commitments and see if I can get them resolved soon. Give me a day or two to get things ordered properly and I'll give a revised estimate on delivery of the fix.
-
reporter There's no rush since there is always the work around of setting the "on save" behavior to "deploy".
Get some rest (and stay warm!) after your Snowmageddon experience. Traveling during all of that must have been a nightmare!
-
repo owner - changed status to resolved
Sweeping through older issues. This one was fixed quite a bit back. Just verified it one more time for good measure, though!
-
repo owner - changed component to Metadata Deployment/Retrieval/Removal
- Log in to comment
OK, here is what Force Save works on, and what it doesn't work on.
Force save WORKS on...
Force save DOES NOT WORK on....
I guess I just got lucky that the first thing I worked on after reading the release notes for 1.6.8.0/1 was Layouts. It was a HUGE deal to finally have Force Save work in a way that makes sense (ie. it actually FORCES a deployment of the selected file, regardless of the "on save" setting for IC).
I must confess that the fact that it's still not working for Apex and VF is a bit frustrating. Hopefully this is an easy fix from this point.