{"action":"opened","issue":{"url":"https://api.github.com/repos/SparkDevNetwork/Rock/issues/3128","repository_url":"https://api.github.com/repos/SparkDevNetwork/Rock","labels_url":"https://api.github.com/repos/SparkDevNetwork/Rock/issues/3128/labels{/name}","comments_url":"https://api.github.com/repos/SparkDevNetwork/Rock/issues/3128/comments","events_url":"https://api.github.com/repos/SparkDevNetwork/Rock/issues/3128/events","html_url":"https://github.com/SparkDevNetwork/Rock/issues/3128","id":340709074,"node_id":"MDU6SXNzdWUzNDA3MDkwNzQ=","number":3128,"title":"Transaction Detail block displays the Financial Gateway component rather than name","user":{"login":"tscrip","id":7517351,"node_id":"MDQ6VXNlcjc1MTczNTE=","avatar_url":"https://avatars0.githubusercontent.com/u/7517351?v=4","gravatar_id":"","url":"https://api.github.com/users/tscrip","html_url":"https://github.com/tscrip","followers_url":"https://api.github.com/users/tscrip/followers","following_url":"https://api.github.com/users/tscrip/following{/other_user}","gists_url":"https://api.github.com/users/tscrip/gists{/gist_id}","starred_url":"https://api.github.com/users/tscrip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tscrip/subscriptions","organizations_url":"https://api.github.com/users/tscrip/orgs","repos_url":"https://api.github.com/users/tscrip/repos","events_url":"https://api.github.com/users/tscrip/events{/privacy}","received_events_url":"https://api.github.com/users/tscrip/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-12T16:23:21Z","updated_at":"2018-07-12T16:23:21Z","closed_at":null,"author_association":"NONE","body":"### Prerequisites\r\n* [X] Put an X between the brackets on this line if you have done all of the following:\r\n    * Can you reproduce the problem on a fresh install or the [demo site](http://rock.rocksolidchurchdemo.com/)?\r\n    * Did you include your Rock version number and [client culture](https://github.com/SparkDevNetwork/Rock/wiki/Environment-and-Diagnostics-Information) setting?\r\n    * Did you [perform a cursory search](https://github.com/issues?q=is%3Aissue+user%3ASparkDevNetwork+-repo%3ASparkDevNetwork%2FSlack) to see if your bug or enhancement is already reported?\r\n\r\n### Description\r\nIf you are going to import a bunch of Financial Transactions, it is probably a good idea to create a new Gateway to avoid potentially matching on Transaction Codes. Being that this is really just a placeholder, you _should_ be able to use the Test Gateway gateway type.\r\n\r\nProblems is, when you go to view the transactions, they all show to be tied to the gateway called TestGateway. If you click edit and actually view the detail, it shows the correct gateway.\r\n\r\n### Steps to Reproduce\r\n1. Create a new Financial Gateway of type Test Gateway\r\n2. Create a transaction and attach it to the new gateway\r\n3. View your transaction, notice that your Gateway is TestGateway\r\n4. Click Edit and notice that your Gateway is now displayed correctly.\r\n\r\n**Expected behavior:**\r\nI believe the actual Gateway name should be displayed. https://github.com/SparkDevNetwork/Rock/blob/hotfix-1.7.4/RockWeb/Blocks/Finance/TransactionDetail.ascx.cs#L1341\r\n\r\nThis should probably be: `txn.FinancialGateway.Name`\r\nNot: `Rock.Financial.GatewayContainer.GetComponentName( txn.FinancialGateway.EntityType.Name )`\r\n\r\n**Actual behavior:**\r\nComponent Name is being used.\r\n\r\n### Versions\r\n\r\n* **Rock Version:** 7.4\r\n* **Client Culture Setting:** en-US\r\n"}}
{"actor":{"display_login":"tscrip"}}