You need to sign in to do that
Don't have an account?

Package Upload Error
All the Unit Tests pass, but ...
I'm attempting to upload an UNMANAGED package from a development ORG and I get this message each time for a unit test class:
Package Upload Error
There are problems that prevent this package from being uploaded.
Component Type | Name | Problem |
---|---|---|
Apex Class | <Name of test class> | line -1, column -1 |
I remove the test class from the package and try to upload and it fails on another test class.
This wasn't a problem until we built a managed package. Now it seems impossible to get a package to upload.
This occurs after the propmt to enter the version number and description (which occurs after the unit testing).
Can making a managed package stop you from creating unmanaged packages?
You should be able to upload managed and unmanaged packages from your DE org. Since the managed package works, I'm wondering if you've added all the same components to the unmanaged package.
Best,
Sati
Sati, thanks for the reply.
Ok, I went back and forth between the packages
There were a few extra small items in the Unmanaged package, which were not in the Managed Package (a VF page used for testing a component), and I removed them. Added back in the test programs that I removed before. So, as far as I could tell the package definitions match.
(What I wouldn't give for a CLONE button on the package)
Retested the unmanaged upload. FAILED again.