You need to sign in to do that
Don't have an account?
TScott
Validation Errors While Saving Record(s)
We're developing a Visual Force application with Custom Apex Controllers. One of the fields that we are using is a text field and we are getting the following error when trying to change the field type to a picklist:
Validation Errors While Saving Record(s)
There were custom validation error(s) encountered while saving the affected record(s). The first validation error encountered was "Generic Exception Creator".
Click here to return to the previous page.
Note that we have no data records for the object in question. We also have no validation rules. I suspect that this is an erroneous message that isn't leading us to the true cause of the problem. Interestingly, a Google search shows a discussion on this topic (http://www.google.com/url?sa=t&ct=res&cd=1&url=http%3A%2F%2Fforums.sforce.com%2Fsforce%2Fboard%2Fmessage%3Fboard.id%3DVisualforce%26thread.id%3D2050&ei=uoRaSIWiE52qiAH88syHDA&usg=AFQjCNHDdOqhsIvyrwF6oUGxpAx77BjoEA&sig2=LZx9A1b-WT1FxUczjVDZFQ), but that thread appears to have been deleted for some reason. We're going to remove the field and add it again, but I am concerned that we found a bug that could affect us again. Any ideas what is causing this error?
Thanks.
-Tom Scott
Appirio
Validation Errors While Saving Record(s)
There were custom validation error(s) encountered while saving the affected record(s). The first validation error encountered was "Generic Exception Creator".
Click here to return to the previous page.
Note that we have no data records for the object in question. We also have no validation rules. I suspect that this is an erroneous message that isn't leading us to the true cause of the problem. Interestingly, a Google search shows a discussion on this topic (http://www.google.com/url?sa=t&ct=res&cd=1&url=http%3A%2F%2Fforums.sforce.com%2Fsforce%2Fboard%2Fmessage%3Fboard.id%3DVisualforce%26thread.id%3D2050&ei=uoRaSIWiE52qiAH88syHDA&usg=AFQjCNHDdOqhsIvyrwF6oUGxpAx77BjoEA&sig2=LZx9A1b-WT1FxUczjVDZFQ), but that thread appears to have been deleted for some reason. We're going to remove the field and add it again, but I am concerned that we found a bug that could affect us again. Any ideas what is causing this error?
Thanks.
-Tom Scott
Appirio
Try deleting the field instead. It won't actually let you delete and should provide a more specific error message leading you to whatever is referencing the field and preventing the change. In my case the delete method listed some apex classes that were referencing the field. From there I was easily able to resolve and then change the field type.
Good Luck!
All Answers
If so, perhaps there are issues with changing the field types of fields that are used in Pages but they (SFDC) don't have a polished message for this error. If this field is used in a page what happens if you remove it from all pages and then try to change the type.
Message Edited by TehNrd on 06-19-2008 09:27 AM
Try deleting the field instead. It won't actually let you delete and should provide a more specific error message leading you to whatever is referencing the field and preventing the change. In my case the delete method listed some apex classes that were referencing the field. From there I was easily able to resolve and then change the field type.
Good Luck!
Hi.
I also experienced the same error while converting a text field to picklist.
First I got errors in Formulas and Approval process.Then I removed the
formulas reference and the approval references .
Now proceeded the process to convert the text to picklist and got the above error.
I used this field in my Apex classes also.So I removed this field from Apex class .
After that I tired to change the data type from text to picklist and I was success .
cheers
suresh