-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install failed 2.4 update - New dependency on LookupChild's Sharing mode in Apex Unit Test #344
Comments
I'm getting this too when upgrading from 2.2 to 2.4 |
Thanks both. This is the first time i've used the Salesforce Release Patch feature hence the ".1" in the "2.4.1" release version. I'm wondering if something is different in this process. Starting to investigate.... |
We have been discussing this in the Chatter gorup, this is the workaround... "Can you go into Sharing Settings under the Setup menu and check if 'Lookup Child' has Private sharing set for it. Note that this object is used only to support the Apex tests in the package and does not contain any data." I'm raising this as a bug now, as i've seen what caused this, ironically an Apex test i wrote brought in an a dependency on one of the test objects that get included in the package as requiring a private sharing model. Which for new installs is the case, but if your one of those that's been tracking the tool from the start, its not always been the case that this test object was set to private sharing and since this setting doesn't upgrade, it was never changed following upgrades. Which prior to this dependency was never really any issue... Phew that hurt my head a bit... Sorry folks. |
Ok, so I updated the sharing settings for the Lookup Child object - it was previously public read/write and I changed it to private. After the sharing settings were recalculated, I was able to update to 2.4.1! |
Excellent! |
Fixed in v2.4.2. |
Getting an install failure when trying to upgrade from 2.3 to 2.4
The text was updated successfully, but these errors were encountered: