{"action":"opened","issue":{"url":"https://api.github.com/repos/afawcett/declarative-lookup-rollup-summaries/issues/134","labels_url":"https://api.github.com/repos/afawcett/declarative-lookup-rollup-summaries/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/afawcett/declarative-lookup-rollup-summaries/issues/134/comments","events_url":"https://api.github.com/repos/afawcett/declarative-lookup-rollup-summaries/issues/134/events","html_url":"https://github.com/afawcett/declarative-lookup-rollup-summaries/issues/134","id":60646741,"number":134,"title":"Validation Errors","user":{"login":"CraigWard1981","id":11423260,"avatar_url":"https://avatars.githubusercontent.com/u/11423260?v=3","gravatar_id":"","url":"https://api.github.com/users/CraigWard1981","html_url":"https://github.com/CraigWard1981","followers_url":"https://api.github.com/users/CraigWard1981/followers","following_url":"https://api.github.com/users/CraigWard1981/following{/other_user}","gists_url":"https://api.github.com/users/CraigWard1981/gists{/gist_id}","starred_url":"https://api.github.com/users/CraigWard1981/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CraigWard1981/subscriptions","organizations_url":"https://api.github.com/users/CraigWard1981/orgs","repos_url":"https://api.github.com/users/CraigWard1981/repos","events_url":"https://api.github.com/users/CraigWard1981/events{/privacy}","received_events_url":"https://api.github.com/users/CraigWard1981/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-11T11:48:16Z","updated_at":"2015-03-11T11:48:16Z","closed_at":null,"body":"Hi,\r\n\r\nI've installed the latest version into sandbox and it is working fine when used to count the number of active Contacts I have associated with an Account, however when I write a Validation Rule to limit the number of Contacts (in this instance 8) I get the following error message:\r\n\r\nUpsert failed. First exception on row 4; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, dlrs_ContactTrigger: execution of AfterInsert caused by: System.DmlException: Update failed. First exception on row 0 with id 001L0000006U4gjIAC; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, Too many active contacts: [] (dlrs) Trigger.dlrs_ContactTrigger: line 7, column 1: []\r\nError is in expression '{!ave}' in component <apex:commandButton> in page dynamiccontact: Class.addAttendee.ave: line 28, column 1\r\n\r\nAn unexpected error has occurred. Your development organization has been notified.\r\n\r\nDo you have any idea what this could be? If you need any further information then please let me know. \r\n\r\nRegards\r\n\r\nCraig\r\n\r\n"}}