ForceDotComLabs/cloud-swarm — pull request #1 by hemmeter (2012-06-05 22:57:13+00:00)
Title: Fix to triggers when calling @future methods

The triggers is CloudSwarm can conflict with other apps. For example, our app has a batch job that runs to mass update records. When doing so on a Clourdswarm object, you get the dreaded "Future methods cannot be called from other future methods" error.

The included fixes will only launch the @future triggers is we are not already in the Future or Batch contexts.

Please test this and get it into the main managed package. This issues causes conflicts with other AppExchange apps and Cloudswarm should fix to be a good AppExchange citizen.