• manojpandey
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

Hey ho,

 

I am striving problems while trying to install Smart Follow. I enabled chatter and then tried to install the app via the AppExchange.

 

The installer fails with this error:

 

 

Problem:

1. Apex Classes(01p20000000TZcU) chatterfollowrules.testFollowDepartment();
chatterfollowrules.testFollowEveryone();
chatterfollowrules.testFollowManagerHierarchy();
chatterfollowrules.testFollowProfile();
chatterfollowrules.testFollowRole();
chatterfollowrules.testTeamfollowRule()
System.DmlException: Insert failed. First exception on row 0; first error: DUPLICATE_VALUE, duplicate value found: SetupOwnerId duplicates value on record with id: 00D200000000NNy: []
Class.chatterFollowRules.testFollowDepartment: line 819, column 13 External entry point;
System.DmlException: Insert failed. First exception on row 0; first error: DUPLICATE_VALUE, duplicate value found: SetupOwnerId duplicates value on record with id: 00D200000000NNy: []
Class.chatterFollowRules.testFollowEveryone: line 627, column 13 External entry point;
System.DmlException: Insert failed. First exception on row 0; first error: DUPLICATE_VALUE, duplicate value found: SetupOwnerId duplicates value on record with id: 00D200000000NNy: []
Class.chatterFollowRules.testFollowManagerHierarchy: line 474, column 13 External entry point;
System.DmlException: Insert failed. First exception on row 0; first error: DUPLICATE_VALUE, duplicate value found: SetupOwnerId duplicates value on record with id: 00D200000000NNy: []
Class.chatterFollowRules.testFollowProfile: line 759, column 13 External entry point;
System.DmlException: Insert failed. First exception on row 0; first error: DUPLICATE_VALUE, duplicate value found: SetupOwnerId duplicates value on record with id: 00D200000000NNy: []
Class.chatterFollowRules.testFollowRole: line 667, column 13 External entry point;
System.DmlException: Insert failed. First exception on row 0; first error: DUPLICATE_VALUE, duplicate value found: SetupOwnerId duplicates value on record with id: 00D200000000NNy: []
Class.chatterFollowRules.testTeamfollowRule: line 403, column 13 External entry point

2. Apex Classes(01p20000000TZcO) chatterfollowbatchcaller.testchatterFollowBatchCaller()
System.DmlException: Insert failed. First exception on row 0; first error: DUPLICATE_VALUE, duplicate value found: SetupOwnerId duplicates value on record with id: 00D200000000NNy: []
Class.chatterFollowBatchCaller.updateSettings: line 58, column 4
Class.chatterFollowBatchCaller.testchatterFollowBatchCaller: line 128, column 3 External entry point



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 "00D200000000NNy: APEX_TEST_FAILED [01p20000000TZcU: chatterfollowrules.testFollowDepartment();
chatterfollowrules.testFollowEveryone();
chatterfollowrules.testFollowManagerHierarchy();
chatterfollowrules.testFollowProfile();
chatterfollowrules.testFollowRole();
chatterfollowrules.testTeamfollowRule(): System.DmlException: Insert failed. First exception on row 0; first error: DUPLICATE_VALUE, duplicate value found: SetupOwnerId duplicates value on record with id: 00D200000000NNy: []
Class.chatterFollowRules.testFollowDepartment: line 819, column 13 External entry point;
System.DmlException: Insert failed. First exception on row 0; first error: DUPLICATE_VALUE, duplicate value found: SetupOwnerId duplicates value on record with id: 00D200000000NNy: []
Class.chatterFollowRules.testFollowEveryone: line 627, column 13 External entry point;
System.DmlException: Insert failed. First exception on row 0; first error: DUPLICATE_VALUE, duplicate value found: SetupOwnerId duplicates value on record with id: 00D200000000NNy: []
Class.chatterFollowRules.testFollowManagerHierarchy: line 474, column 13 External entry point;
System.DmlException: Insert failed. First exception on row 0; first error: DUPLICATE_VALUE, duplicate value found: SetupOwnerId duplicates value on record with id: 00D200000000NNy: []
Class.chatterFollowRules.testFollowProfile: line 759, column 13 External entry point;
System.DmlException: Insert failed. First exception on row 0; first error: DUPLICATE_VALUE, duplicate value found: SetupOwnerId duplicates value on record with id: 00D200000000NNy: []
Class.chatterFollowRules.testFollowRole: line 667, column 13 External entry point;
System.DmlException: Insert failed. First exception on row 0; first error: DUPLICATE_VALUE, duplicate value found: SetupOwnerId duplicates value on record with id: 00D200000000NNy: []
Class.chatterFollowRules.testTeamfollowRule: line 403, column 13 External entry point, 01p20000000TZcO: chatterfollowbatchcaller.testchatterFollowBatchCaller(): System.DmlException: Insert failed. First exception on row 0; first error: DUPLICATE_VALUE, duplicate value found: SetupOwnerId duplicates value on record with id: 00D200000000NNy: []
Class.chatterFollowBatchCaller.updateSettings: line 58, column 4
Class.chatterFollowBatchCaller.testchatterFollowBatchCaller: line 128, column 3 External entry point]".

 

 

 

And when I choose to install the app with "Ignore Tests" I cannot create follow rules;

 

 

Visualforce Page: /apex/chatterFollow



caused by: System.DmlException: Insert failed. First exception on row 0; first error: DUPLICATE_VALUE, duplicate value found: SetupOwnerId duplicates value on record with id: 00D200000000NNy: []

Class.chatterFollowBatchCaller.updateSettings: line 58, column 4 External entry point

 

We are on EMEA. I can send my org. ID via PM if needed.

 

 

So, looks like I am not taking Chatter live today :(

 

Cheers,

Hannes