After winter '13 when deploying to production I'm getting a failure in ChatterAnswersEscalationTriggerTest that communityId is not a valid case field. Any ideas why this field would spontaneously disappear?

When testing in my dev org this field is available and per the webservices api the field is available for all orgs as of api version 24. The class was installed automatically when sites was first enabled (along with the rest of the standard sites classes and pages). Api version of the test class and related trigger is 25. The case community lookup no longer shows up on the case detail page or in describe calls in the dev console. But answers and communities are all turned on. Perhaps there is setting that got disabled that I'm missing?

  • 2
    this may be a bug and I would recommend opening a support ticket at Salesforce so we can track it and get it resolved. I will look at it too (I am the product owner for Chatter Answers..). cheers
    – Antony P.
    Commented Oct 16, 2012 at 17:12
  • @AntonyP. I opened a support case 08195951. Commented Oct 17, 2012 at 17:29

1 Answer 1


Opened a case, 08195951, with support. Ends up this is a catch 22 issue. The org had licenses for Chatter Answers which had been deactivated. While Answers was still actively being used via other licenses, with the licenses deactivated the system hid the communityId field. I'm still not clear as to why the field gets hidden when the community, answers, and questions objects were still available. This also falls into the category of surprise reasons you can't do any deployments. Sigh ...

  • Going through this same issue. Successful deployments for days, and suddenly I can't do squat. Was support able to offer help, or did they merely inform you of the issue?
    – VictorKilo
    Commented Jun 12, 2013 at 23:34
  • We just removed the reference to the field. Commented Jun 13, 2013 at 0:23
  • For me, I found out a few hours later that someone was just testing out chatter answers... so I disabled it and removed the triggers and classes.
    – VictorKilo
    Commented Jun 14, 2013 at 17:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .