You need to sign in to do that
Don't have an account?
Initializing Milestones PM Error
Hello,
I've instaled Milestones PM - Project Management however when I click on Initialize the app I get the following error:
Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, Milestone1_Task_Trigger: execution of AfterInsert caused by: System.DmlException: Insert failed. First exception on row 0; first error: LIMIT_EXCEEDED, Maximum per user subscription limit reached.: [] Class.Milestone1_Task_Trigger_Utility.handleTaskAfterTrigger: line 65, column 9 Trigger.Milestone1_Task_Trigger: line 8, column 3: []
An unexpected error has occurred. Your development organization has been notified.
Can anyone help?
Thanks
Matt
This is related to the Chatter Autofollow setting. What happens is that when it inserts a task, it attempts to have you, the installer, follow that task. If you are already following a high number of people, it throws the error.
Two notes: one, the number of items you can follow is increating from 500 to 2500. Two, we have added code to handle this error in a more friendly way.
Easy fix is to turn off that setting.
Setup > Develop > Custom Settings
Click "Manage" next to Milestones1_Settings__c
Update the default values to have Autofollow unchecked.
HTH.
After turning off that setting I still am seeing this error:
Milestone1_Task_Chatter_Tst.testChatterTaskReassignment System.DmlException: Update failed. First exception on row 0 with id a0r30000000p1G4AAI; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, Insert failed. First exception on row 0; first error: LIMIT_EXCEEDED, Maximum per user subscription limit reached.: []: []
Any help would be greatly appreciated.
I am also coming up with this error. Can anyone help?
Milestone1_Task_Chatter_Tst.testChatterTaskReassignment System.DmlException: Update failed. First exception on row 0 with id a3MA00000002OSNMA2; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, Insert failed. First exception on row 0; first error: LIMIT_EXCEEDED, Maximum per user subscription limit reached.: []: []
I followed your suggestion and still get the following errors when I run tests. I can't deploy any code into the system. Please assist.
Can you post the version you're using?
I reproduced the issues and am pushing up a fix.
Posted version 1.61 as unmanaged, managed and to github today that corrects this.
Thank you for implementing a fix so quickly. The client requested I uninstall the app before I could install your update. Thanks again though
No problem and thanks for the follow up.
Milestone1_Task_Chatter_Tst.testChatterTaskFollows() Class 48 1 Failure Message: "System.DmlException: Insert failed. First exception on row 0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, Insert failed. First exception on row 0; first error: LIMIT_EXCEEDED, Maximum per user subscription limit reached.: []: []", Failure Stack Trace: "Class.Milestone1_Task_Chatter_Tst.testChatterTaskFollow...
Milestone1_Task_Chatter_Tst.testChatterTaskReassignment() Class 89 1 Failure Message: "System.DmlException: Insert failed. First exception on row 0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, Insert failed. First exception on row 0; first error: LIMIT_EXCEEDED, Maximum per user subscription limit reached.: []: []", Failure Stack Trace: "Class.Milestone1_Task_Chatter_Tst.testChatterTaskReassi...