You need to sign in to do that
Don't have an account?
MKPartners.com
Deploying Apex Failed due to lack of coverage of sfLma.updatePackages
I'm deploying some apex from a DE org to Production using Eclipse. The
Production org has Salesforce's License Manager App installed and the
deployment is failing because one of the Triggers in that App
"sfLma.updatePackages" does not have enough test coverage.
Since its a managed package I don't have access to the app to see the code and try to write my own test coverage. I don't think that uninstalling the App is really an option since data would be lost.
Has anyone else seen this? I don't think this was a problem with the older eclipse toolkit. Any suggestions?
Thanks in advance.
-Matt
Since its a managed package I don't have access to the app to see the code and try to write my own test coverage. I don't think that uninstalling the App is really an option since data would be lost.
Has anyone else seen this? I don't think this was a problem with the older eclipse toolkit. Any suggestions?
Thanks in advance.
-Matt
Thanks for reporting this.
I tried 'deselect all' in the deployment plan and then selecting the triggers/methods I wanted to deploy - hoping that I could leave the sfLma.updatePackages trigger, but that didn't work.
Thanks,
ISV version is a 2 user version of Salesforce that is provisioned to partners for the purpose of tracking leads from AppExchange, and should not be the basis for development. Can you develop in a DE org or the Test Edition (a 20 user DE org with additional storage provisioned under the same agreement) instead?
Thanks
Matt
However, the real issue appears to with the license management app. I need to add a trigger to the License object, so whether I'm in a sandbox or in a dev account, the LMA has to be installed there. And with the LMA failing the validation step I can't publish from any dev environment.
Message Edited by Ron Wild on 03-13-2008 10:43 PM
I don't see any way to make modifications if the LMA is failing the current testing requirement, is it possible to upgrade the LMA installed there?
What functionality are you adding to your ISV account?
Can you open a case so that we can track down the underlying issue with the LMA app, and why it does not have proper test coverage in the ISV edition. Unless i'm missing something that is the underlying problem.
I've added a custom field to store the email address of the Lead associated with the License record when it's installed. The trigger simply copies the Lead's email to this field after insert, so I can set up a workflow rule to autogenerate a 'Welcome' email when a license goes to 'Active' status.
I've also submitted a case as you requested.
Message Edited by Ron Wild on 03-14-2008 08:37 AM