• jgreene
  • NEWBIE
  • 0 Points
  • Member since 2004

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
I have an Apex test that creates a new Case. I figured the tests were transparent, i.e. they just did their thing and didn't modify my data or fire any workflow rules. However, I just noticed that they are in fact incrementing the Auto Number fields. Another member of my team was doing a bunch of development over the weekend and so whenever he ran the test suite it created a new case. I came in on Monday and created a new case; the case number was 100 higher than the last case I had created.

Seems like a bug to me... is it supposed to work like this? Any ideas for a workaround?

Jeremy


Message Edited by jgreene on 10-22-2008 10:11 AM
I have an Apex test that creates a new Case. I figured the tests were transparent, i.e. they just did their thing and didn't modify my data or fire any workflow rules. However, I just noticed that they are in fact incrementing the Auto Number fields. Another member of my team was doing a bunch of development over the weekend and so whenever he ran the test suite it created a new case. I came in on Monday and created a new case; the case number was 100 higher than the last case I had created.

Seems like a bug to me... is it supposed to work like this? Any ideas for a workaround?

Jeremy


Message Edited by jgreene on 10-22-2008 10:11 AM
Hello all,

I am trying to deploy a class via the Force.com IDE - Summer '08 version.

In the deployment wizard, Step 3, I choose JUST the class that I want to deploy.  When I click the 'Validate deployment' button, the results say the deployment would fail.  This is the error log (names xxx'ed out) :

*** Deployment Log ***
Result: FAILED
Date: July 26, 2008 2:33:42 PM EDT

# Deployed From:
   Project name: Sandbox
   Username: xxx@xxx.com.xxx
   Endpoint: test.salesforce.com

# Deployed To:
   Username: xxx@xxx.com
   Endpoint: www.salesforce.com

# Deploy Results:
   Name:    unpackaged/classes/weeklyStatusQuery.cls
   Action:  NO ACTION
   Result:  FAILED
   Problem: An error occurred on your page.

   Name:    unpackaged/package.xml
   Action:  UPDATED
   Result:  SUCCESS
   Problem: n/a

# Test Results:
   n/a




The only error indication is 'An error occured on your page'.  This class saves properly (to the Sandbox) through the IDE, the code coverage is above 85%, and it works fine in the Sandbox.  Is there any way of finding out what the 'error on page' is????  This is giving me nothing to go on...

Any help would be greatly appreciated. 

Regards,

Gireesh