Telephone number validator for Creatio - Help from DevLabs requested
Hello,
We have an issue with the app https://marketplace.creatio.com/app/telephone-number-validator-creatio.
After installing the App the Process to Create a Lead doesn't work.
Are you aware about this issue.
Our Customer would like to use it.
Thanks.
Stéphane.
Like
Hello Stéphane,
Thank you for contacting us. Could you please send us more details about your issue? Specifically, please tell us the name and code of the problem process. Also, please check the process log. Do you encounter any errors while launching this process? We would be happy to help you resolve this issue.
Hello Yevhen,
I have created a test environment for you.
I have instance the App. So we are on the standard environment.
You can use the credential "Administrator 1" (same for pws) on the instance : https://124731-crm-bundle.creatio.com/
Then you can Create a new Lead and clique on the button Qualify.
Then go the ProcessLog to see an error in the process "Lead Management 7.8.0" .
Then you should understand our issue.
The App is usefull for our customer.
So have a new package from you would be great.
Below the text of the error:
System.NullReferenceException: Object reference not set to an instance of an object.
at Academy.PhoneValidator.PhoneNumberMetadata.Validate(String PhoneNumber, Territory ter)
at Academy.PhoneValidator.PhoneNumberMetadata.ValidateAllCountries(String PhoneNumber, ReturnType rt, List`1 RestrictedListOfCountries)
at Academy.PhoneValidator.ContactPhoneValidator.ExecuteSearch(List`1 RestrictedListOfCountries, ReturnType rt, PhoneNumberMetadata Validator, String newNumber)
at Academy.PhoneValidator.ContactPhoneValidator.ValidateandSave(Entity entity)
at Academy.PhoneValidator.ContactPhoneValidator.OnInserting(Object sender, EntityBeforeEventArgs e)
at Terrasoft.Common.CollectionUtilities.ForEach[T](IEnumerable`1 source, Action`1 action)
at Terrasoft.Core.Entities.Entity.OnInserting(EntityBeforeEventArgs e)
at Terrasoft.Core.Entities.Entity.<InsertToDBAsync>d__310.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Terrasoft.Core.Entities.Entity.InsertToDB(Boolean skipLookupColumnValues, Boolean validateRequired, Boolean trackChanges)
at Terrasoft.Core.Entities.Entity.<InternalSaveAsync>d__295.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Terrasoft.Core.Entities.Entity.InternalSave(Boolean validateRequired, Boolean setColumnDefValue, Boolean trackChanges)
at Terrasoft.Core.Entities.Entity.<SaveAsync>d__308.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Terrasoft.Core.Process.LeadManagementQualification78.SyncContactCommunications(Guid contactId)
at Terrasoft.Core.Process.LeadManagementQualification78.ProcessContact()
at Terrasoft.Core.Process.LeadManagementQualification78.ChangeContactScriptTaskExecute(ProcessExecutingContext context)
at Terrasoft.Core.Process.ProcessFlowElement.ExecuteItem(ProcessExecutingContext context)
at Terrasoft.Core.Process.ProcessFlowElement.Execute(ProcessExecutingContext context)
Stéphane Banon2,
Thank you for the detailed description.
I have analyzed it and found the cause.
This exception is thrown if the “Mobile number” field is filled out with an incorrect number. The same situation occurs when attempting to create a contact that has an incorrect number using a mini-page.
I have forwarded your feedback to the developer in charge.
Hello,
Thank you for your feedback. When do you think you can provide a new package?
Our customer request it
Thanks.
Stéphane.
Stéphane Banon2,
We cannot provide you with an ETA since the add-on is free and supported without any service level agreements.
Ok hope it can be done soon.
FYI we discovered this issue at the begining after having error in compilation when we had update le qualification lead process. To be able to compile we have to uninstall your package.
Hope you have identify the right error.