-
Notifications
You must be signed in to change notification settings - Fork 10
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
40 Char Limit #11
Comments
That is a hard limit on custom settings you can vote on fixing here: https://success.salesforce.com/ideaView?id=08730000000keQlAAI I meant to fix that with the code here:
Can you try, maybe in a sandbox/scratch org, installing the code from this repo to see if it works? It's possible the appexchange doesn't have the latest version with the fix. |
Hi Shane, I tested this in my org and ran into issues. I believe nameshortener is failing when the lengths of the three strings is too different from each other. I added this test to your nameshortener tests and it fails: The reason I was testing this particularly is that our object name is crazy long. Here is the actual error we get when trying to save a record that is subject to the assigner (using the version currently in master):
with version 1.0 (off the appexchange), the error reads as follows (so you can see the entire string pre-shortening):
Happy to test if you have a thought as to how to fix. I am also willing to attempt a fix, if you don't have time, and submit a pull request. Let me know what you would prefer. |
@bernadettebuck I'd love to have your fix attempt. I'm almost at the "give up and just let the name be a timestamp or whatever" because
This name thing was more because 1) they have to have a name 2) I was trying to make it something friendly. |
Good evening
Trying to test and deploy APEX. I was able to change classes and get successful deployment with what I thought was correct changes to customSettingNameLimitLength but that didn't work. I'm using a custom object in case that matters.
What other changes to classes do I need to do to increase to 80 characters?
The text was updated successfully, but these errors were encountered: