INVALID_OPERATION: purgeOnDelete option can only be used on a non-active org

Issue #583 resolved
Willem Mulder created an issue

Hi Scott,

Whenever I try to delete a class from a Production org, I get this message: "INVALID_OPERATION: purgeOnDelete option can only be used on a non-active org"

Can I somehow disable purgeOnDelete? Or can purgeOnDelete be auto-disabled for Production orgs?

Thanks!

Comments (7)

  1. Scott Wells repo owner

    Willem, unfortunately right now there's probably not a good option. I can auto-disabling for production orgs in the next build which I'm hoping to get out tomorrow morning. I apologize for the inconvenience.

  2. Scott Wells repo owner

    Delivered in 1.7.8.9. Note that I don't have a production org against which to test, but I'm using the same information to decide when to set purgeOnDelete=false that I use to decide whether to allow partial deployment, and AFAIK that's worked well so far. Please let me know if this doesn't resolve the issue for you.

  3. Willem Mulder reporter

    Thanks Scott!

    Totally unrelated but I also just found the Offline Apex Debugger functionality: awesome! :-)

    Have a good weekend.

  4. Log in to comment