{"action":"created","issue":{"url":"https://api.github.com/repos/SparkDevNetwork/Rock/issues/2947","repository_url":"https://api.github.com/repos/SparkDevNetwork/Rock","labels_url":"https://api.github.com/repos/SparkDevNetwork/Rock/issues/2947/labels{/name}","comments_url":"https://api.github.com/repos/SparkDevNetwork/Rock/issues/2947/comments","events_url":"https://api.github.com/repos/SparkDevNetwork/Rock/issues/2947/events","html_url":"https://github.com/SparkDevNetwork/Rock/issues/2947","id":316619145,"number":2947,"title":"Grade Auto-Fill From Graduation Year on Person Edit Page is Incorrect","user":{"login":"beejjacobs","id":5353497,"avatar_url":"https://avatars1.githubusercontent.com/u/5353497?v=4","gravatar_id":"","url":"https://api.github.com/users/beejjacobs","html_url":"https://github.com/beejjacobs","followers_url":"https://api.github.com/users/beejjacobs/followers","following_url":"https://api.github.com/users/beejjacobs/following{/other_user}","gists_url":"https://api.github.com/users/beejjacobs/gists{/gist_id}","starred_url":"https://api.github.com/users/beejjacobs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beejjacobs/subscriptions","organizations_url":"https://api.github.com/users/beejjacobs/orgs","repos_url":"https://api.github.com/users/beejjacobs/repos","events_url":"https://api.github.com/users/beejjacobs/events{/privacy}","received_events_url":"https://api.github.com/users/beejjacobs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/SparkDevNetwork/Rock/milestones/6","html_url":"https://github.com/SparkDevNetwork/Rock/milestone/6","labels_url":"https://api.github.com/repos/SparkDevNetwork/Rock/milestones/6/labels","id":3218454,"number":6,"title":"v8.0","description":"","creator":{"login":"edmistj","id":548178,"avatar_url":"https://avatars3.githubusercontent.com/u/548178?v=4","gravatar_id":"","url":"https://api.github.com/users/edmistj","html_url":"https://github.com/edmistj","followers_url":"https://api.github.com/users/edmistj/followers","following_url":"https://api.github.com/users/edmistj/following{/other_user}","gists_url":"https://api.github.com/users/edmistj/gists{/gist_id}","starred_url":"https://api.github.com/users/edmistj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edmistj/subscriptions","organizations_url":"https://api.github.com/users/edmistj/orgs","repos_url":"https://api.github.com/users/edmistj/repos","events_url":"https://api.github.com/users/edmistj/events{/privacy}","received_events_url":"https://api.github.com/users/edmistj/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":1,"state":"open","created_at":"2018-03-26T17:26:39Z","updated_at":"2018-05-01T17:41:51Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2018-04-22T22:30:29Z","updated_at":"2018-05-01T17:41:51Z","closed_at":"2018-05-01T17:41:51Z","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\n\r\nWhen choosing a Graduation Year on the Edit Person page, the Grade is auto-filled incorrectly - it is one grade too high. The value then displayed on the person's page after saving is correct.\r\n\r\nEdit page:\r\n![image](https://user-images.githubusercontent.com/5353497/39100608-f66ebd1a-4683-11e8-89a3-6a2ad344b778.png)\r\n\r\nProfile page:\r\n![image](https://user-images.githubusercontent.com/5353497/39100611-01e43850-4684-11e8-9085-dd2ec0a540ac.png)\r\n\r\n\r\n### Steps to Reproduce\r\n\r\n1. Edit a child, e.g. [Noah Decker](http://rock.rocksolidchurchdemo.com/Person/74/Edit) on the demo site\r\n2. Select a new graduation year\r\n3. Note the auto-filled Grade is incorrect\r\n4. Save the changes\r\n5. View the profile and note the Grade is correct\r\n\r\n**OR**\r\n\r\n1. Edit a child, e.g. [Noah Decker](http://rock.rocksolidchurchdemo.com/Person/74/Edit) on the demo site\r\n2. Select a new Grade\r\n3. Note the auto-filled Graduation Year is incorrect\r\n4. Save the changes\r\n5. View the profile and note the Grade doesn't match what was selected (Graduation Year takes precedence)\r\n\r\n**Expected behavior:** \r\n\r\nFor the auto-filled Grade value to match the actual calculated Grade, based off the Graduation Year\r\n\r\n**Actual behavior:** \r\n\r\nThe auto-filled Grade value is one higher than it should be\r\n\r\n### Versions\r\n\r\n* **Rock Version:** McKinley 6.10 (Church site) & McKinley 7.3 (demo site)\r\n* **Client Culture Setting:** en-GB (briefly tested on en-US, appeared to show the same behaviour)\r\n"},"comment":{"url":"https://api.github.com/repos/SparkDevNetwork/Rock/issues/comments/385736232","html_url":"https://github.com/SparkDevNetwork/Rock/issues/2947#issuecomment-385736232","issue_url":"https://api.github.com/repos/SparkDevNetwork/Rock/issues/2947","id":385736232,"user":{"login":"MikeDPeterson","id":2430748,"avatar_url":"https://avatars0.githubusercontent.com/u/2430748?v=4","gravatar_id":"","url":"https://api.github.com/users/MikeDPeterson","html_url":"https://github.com/MikeDPeterson","followers_url":"https://api.github.com/users/MikeDPeterson/followers","following_url":"https://api.github.com/users/MikeDPeterson/following{/other_user}","gists_url":"https://api.github.com/users/MikeDPeterson/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeDPeterson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeDPeterson/subscriptions","organizations_url":"https://api.github.com/users/MikeDPeterson/orgs","repos_url":"https://api.github.com/users/MikeDPeterson/repos","events_url":"https://api.github.com/users/MikeDPeterson/events{/privacy}","received_events_url":"https://api.github.com/users/MikeDPeterson/received_events","type":"User","site_admin":false},"created_at":"2018-05-01T17:41:51Z","updated_at":"2018-05-01T17:41:51Z","author_association":"COLLABORATOR","body":"yep, this is related to #2722, which is now fixed with https://github.com/SparkDevNetwork/Rock/commit/e6f3f8f7f658a59b310e454e53a1bdadbce089a2"}}
{"actor":{"display_login":"MikeDPeterson"}}