{"action":"closed","issue":{"url":"https://api.github.com/repos/givingforum/givingforum/issues/141","labels_url":"https://api.github.com/repos/givingforum/givingforum/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/givingforum/givingforum/issues/141/comments","events_url":"https://api.github.com/repos/givingforum/givingforum/issues/141/events","html_url":"https://github.com/givingforum/givingforum/issues/141","id":37908059,"number":141,"title":"Automate adding line item reference to registration types ","user":{"login":"wcorkill","id":4803610,"avatar_url":"https://avatars.githubusercontent.com/u/4803610?v=3","gravatar_id":"","url":"https://api.github.com/users/wcorkill","html_url":"https://github.com/wcorkill","followers_url":"https://api.github.com/users/wcorkill/followers","following_url":"https://api.github.com/users/wcorkill/following{/other_user}","gists_url":"https://api.github.com/users/wcorkill/gists{/gist_id}","starred_url":"https://api.github.com/users/wcorkill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wcorkill/subscriptions","organizations_url":"https://api.github.com/users/wcorkill/orgs","repos_url":"https://api.github.com/users/wcorkill/repos","events_url":"https://api.github.com/users/wcorkill/events{/privacy}","received_events_url":"https://api.github.com/users/wcorkill/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/givingforum/givingforum/labels/Group%20Feedback%20Needed","name":"Group Feedback Needed","color":"5319e7"},{"url":"https://api.github.com/repos/givingforum/givingforum/labels/Vote%20Required","name":"Vote Required","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2014-07-15T17:46:42Z","updated_at":"2015-07-27T21:02:07Z","closed_at":"2015-07-27T21:02:07Z","body":"In rolling out the latest code release from Thinkshout, we discovered an issue that causes new registration types to not be properly connected to new required field for SF mappings to work properly.  I found a manual solution but our concern is that this new dependncy might be over looked or missed if you have to edit or create new registration types in Drupal.\r\n\r\nAfter a discussion this with Tuano he suggested that we have this new line item reference field automatically updated on all existing registration types and added automatically to all new registration types to avoid future mapping issues.  This will then allow you to quickly clone SF mappings and correctly map new and existing custom registration type mappings.\r\n\r\nTauno estiamtes the following tasks at 4 hours.\r\n1. An update hook to add the line item reference field to existing registration types that don't already have it. \r\n2. When a new registration type is created, automatically add the line item reference field to it. "}}