{"action":"created","issue":{"url":"https://api.github.com/repos/afawcett/declarative-lookup-rollup-summaries/issues/698","repository_url":"https://api.github.com/repos/afawcett/declarative-lookup-rollup-summaries","labels_url":"https://api.github.com/repos/afawcett/declarative-lookup-rollup-summaries/issues/698/labels{/name}","comments_url":"https://api.github.com/repos/afawcett/declarative-lookup-rollup-summaries/issues/698/comments","events_url":"https://api.github.com/repos/afawcett/declarative-lookup-rollup-summaries/issues/698/events","html_url":"https://github.com/afawcett/declarative-lookup-rollup-summaries/issues/698","id":326897082,"node_id":"MDU6SXNzdWUzMjY4OTcwODI=","number":698,"title":"Preexisting Apex Class and Trigger has disappeared for Child Object","user":{"login":"SentiaUSAInc","id":39687568,"node_id":"MDQ6VXNlcjM5Njg3NTY4","avatar_url":"https://avatars0.githubusercontent.com/u/39687568?v=4","gravatar_id":"","url":"https://api.github.com/users/SentiaUSAInc","html_url":"https://github.com/SentiaUSAInc","followers_url":"https://api.github.com/users/SentiaUSAInc/followers","following_url":"https://api.github.com/users/SentiaUSAInc/following{/other_user}","gists_url":"https://api.github.com/users/SentiaUSAInc/gists{/gist_id}","starred_url":"https://api.github.com/users/SentiaUSAInc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SentiaUSAInc/subscriptions","organizations_url":"https://api.github.com/users/SentiaUSAInc/orgs","repos_url":"https://api.github.com/users/SentiaUSAInc/repos","events_url":"https://api.github.com/users/SentiaUSAInc/events{/privacy}","received_events_url":"https://api.github.com/users/SentiaUSAInc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-05-28T05:03:28Z","updated_at":"2018-06-24T05:15:18Z","closed_at":null,"author_association":"NONE","body":"Hi!\r\n\r\nI was just creating a new rollup to average a value on all Contact (child object) for a User (parent object) and received an error I haven't seen before. I've attached a screenshot of the error but basically it says:\r\n\r\nclasses/dlrs_ContactTest.cls (Line: null: Column:null) : Error: A class with name sentia_vda.dlrs_ContactTest was deprecated for this package or this name is already in use!\r\ntriggers/dlrs_ContactTrigger.trigger (Line: null: Column:null) : A trigger with name sentia_vda.dlrs_ContactTrigger was deprecated for this package or this name is already in use!\r\n\r\nI've created a few rollups with the contact as the child object and the apex class and apex trigger already existed and is a part of our managed app on Salesforce. However sometime in the last week the trigger has been lost or removed somehow.\r\n\r\nNow, when I create a new rollup, it prompts me to create and deploy the trigger as if it was new but then throws up the error whenever I try to do so.\r\n\r\nThe dlrs_ContactTrigger and dlrs_ContactTest are no longer in the list of Apex Classes and Triggers in Salesforce, and as far as I can see the other rollup summaries that use Contact as a child object don't run in realtime any more, but don't throw up the error despite being set to calculate in realtime and needs the trigger and class as well.\r\n\r\nI have created new rollups today for other objects already with the apex classes and triggers deployed and haven't had this issue for any other objects.\r\n\r\nThanks!!\r\n\r\n![error](https://user-images.githubusercontent.com/39687568/40597740-9e44e528-6286-11e8-8c1a-e1b7fbc809d3.PNG)\r\n"},"comment":{"url":"https://api.github.com/repos/afawcett/declarative-lookup-rollup-summaries/issues/comments/399730093","html_url":"https://github.com/afawcett/declarative-lookup-rollup-summaries/issues/698#issuecomment-399730093","issue_url":"https://api.github.com/repos/afawcett/declarative-lookup-rollup-summaries/issues/698","id":399730093,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTczMDA5Mw==","user":{"login":"afawcett","id":1167760,"node_id":"MDQ6VXNlcjExNjc3NjA=","avatar_url":"https://avatars1.githubusercontent.com/u/1167760?v=4","gravatar_id":"","url":"https://api.github.com/users/afawcett","html_url":"https://github.com/afawcett","followers_url":"https://api.github.com/users/afawcett/followers","following_url":"https://api.github.com/users/afawcett/following{/other_user}","gists_url":"https://api.github.com/users/afawcett/gists{/gist_id}","starred_url":"https://api.github.com/users/afawcett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afawcett/subscriptions","organizations_url":"https://api.github.com/users/afawcett/orgs","repos_url":"https://api.github.com/users/afawcett/repos","events_url":"https://api.github.com/users/afawcett/events{/privacy}","received_events_url":"https://api.github.com/users/afawcett/received_events","type":"User","site_admin":false},"created_at":"2018-06-24T05:15:17Z","updated_at":"2018-06-24T05:15:17Z","author_association":"OWNER","body":"Thanks @DanDonin "}}
{"actor":{"display_login":"afawcett"}}