{"action":"opened","number":7255,"pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/7255","id":38370530,"html_url":"https://github.com/joomla/joomla-cms/pull/7255","diff_url":"https://github.com/joomla/joomla-cms/pull/7255.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/7255.patch","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/7255","number":7255,"state":"open","locked":false,"title":"Fix case with string value","user":{"login":"wilsonge","id":1986000,"avatar_url":"https://avatars.githubusercontent.com/u/1986000?v=3","gravatar_id":"","url":"https://api.github.com/users/wilsonge","html_url":"https://github.com/wilsonge","followers_url":"https://api.github.com/users/wilsonge/followers","following_url":"https://api.github.com/users/wilsonge/following{/other_user}","gists_url":"https://api.github.com/users/wilsonge/gists{/gist_id}","starred_url":"https://api.github.com/users/wilsonge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilsonge/subscriptions","organizations_url":"https://api.github.com/users/wilsonge/orgs","repos_url":"https://api.github.com/users/wilsonge/repos","events_url":"https://api.github.com/users/wilsonge/events{/privacy}","received_events_url":"https://api.github.com/users/wilsonge/received_events","type":"User","site_admin":false},"body":"This PR is an updated version of https://github.com/joomla/joomla-cms/pull/5763\r\n\r\nI finally figured out the reason that the test failed in 5763 was because we were inputting a value for the field as value. This isn't a valid date format for the PHP Datetime class (which JDate extends from), therefore we got an exception.\r\n\r\nI've replaced it with two tests - one tests when there is a database null value, and the other for when there is a valid string value (this currently fails)","created_at":"2015-06-23T18:57:15Z","updated_at":"2015-06-23T18:57:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/joomla/joomla-cms/pulls/7255/commits","review_comments_url":"https://api.github.com/repos/joomla/joomla-cms/pulls/7255/comments","review_comment_url":"https://api.github.com/repos/joomla/joomla-cms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/7255/comments","statuses_url":"https://api.github.com/repos/joomla/joomla-cms/statuses/00359fd06f83a0e5bd32c290bf7ae843f079f0fb","head":{"label":"wilsonge:date","ref":"date","sha":"00359fd06f83a0e5bd32c290bf7ae843f079f0fb","user":{"login":"wilsonge","id":1986000,"avatar_url":"https://avatars.githubusercontent.com/u/1986000?v=3","gravatar_id":"","url":"https://api.github.com/users/wilsonge","html_url":"https://github.com/wilsonge","followers_url":"https://api.github.com/users/wilsonge/followers","following_url":"https://api.github.com/users/wilsonge/following{/other_user}","gists_url":"https://api.github.com/users/wilsonge/gists{/gist_id}","starred_url":"https://api.github.com/users/wilsonge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilsonge/subscriptions","organizations_url":"https://api.github.com/users/wilsonge/orgs","repos_url":"https://api.github.com/users/wilsonge/repos","events_url":"https://api.github.com/users/wilsonge/events{/privacy}","received_events_url":"https://api.github.com/users/wilsonge/received_events","type":"User","site_admin":false},"repo":{"id":9136608,"name":"joomla-cms","full_name":"wilsonge/joomla-cms","owner":{"login":"wilsonge","id":1986000,"avatar_url":"https://avatars.githubusercontent.com/u/1986000?v=3","gravatar_id":"","url":"https://api.github.com/users/wilsonge","html_url":"https://github.com/wilsonge","followers_url":"https://api.github.com/users/wilsonge/followers","following_url":"https://api.github.com/users/wilsonge/following{/other_user}","gists_url":"https://api.github.com/users/wilsonge/gists{/gist_id}","starred_url":"https://api.github.com/users/wilsonge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilsonge/subscriptions","organizations_url":"https://api.github.com/users/wilsonge/orgs","repos_url":"https://api.github.com/users/wilsonge/repos","events_url":"https://api.github.com/users/wilsonge/events{/privacy}","received_events_url":"https://api.github.com/users/wilsonge/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wilsonge/joomla-cms","description":"Home of the Joomla! Content Management System","fork":true,"url":"https://api.github.com/repos/wilsonge/joomla-cms","forks_url":"https://api.github.com/repos/wilsonge/joomla-cms/forks","keys_url":"https://api.github.com/repos/wilsonge/joomla-cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wilsonge/joomla-cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wilsonge/joomla-cms/teams","hooks_url":"https://api.github.com/repos/wilsonge/joomla-cms/hooks","issue_events_url":"https://api.github.com/repos/wilsonge/joomla-cms/issues/events{/number}","events_url":"https://api.github.com/repos/wilsonge/joomla-cms/events","assignees_url":"https://api.github.com/repos/wilsonge/joomla-cms/assignees{/user}","branches_url":"https://api.github.com/repos/wilsonge/joomla-cms/branches{/branch}","tags_url":"https://api.github.com/repos/wilsonge/joomla-cms/tags","blobs_url":"https://api.github.com/repos/wilsonge/joomla-cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wilsonge/joomla-cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wilsonge/joomla-cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/wilsonge/joomla-cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wilsonge/joomla-cms/statuses/{sha}","languages_url":"https://api.github.com/repos/wilsonge/joomla-cms/languages","stargazers_url":"https://api.github.com/repos/wilsonge/joomla-cms/stargazers","contributors_url":"https://api.github.com/repos/wilsonge/joomla-cms/contributors","subscribers_url":"https://api.github.com/repos/wilsonge/joomla-cms/subscribers","subscription_url":"https://api.github.com/repos/wilsonge/joomla-cms/subscription","commits_url":"https://api.github.com/repos/wilsonge/joomla-cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/wilsonge/joomla-cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/wilsonge/joomla-cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/wilsonge/joomla-cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/wilsonge/joomla-cms/contents/{+path}","compare_url":"https://api.github.com/repos/wilsonge/joomla-cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wilsonge/joomla-cms/merges","archive_url":"https://api.github.com/repos/wilsonge/joomla-cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wilsonge/joomla-cms/downloads","issues_url":"https://api.github.com/repos/wilsonge/joomla-cms/issues{/number}","pulls_url":"https://api.github.com/repos/wilsonge/joomla-cms/pulls{/number}","milestones_url":"https://api.github.com/repos/wilsonge/joomla-cms/milestones{/number}","notifications_url":"https://api.github.com/repos/wilsonge/joomla-cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wilsonge/joomla-cms/labels{/name}","releases_url":"https://api.github.com/repos/wilsonge/joomla-cms/releases{/id}","created_at":"2013-03-31T21:30:21Z","updated_at":"2015-04-17T01:23:09Z","pushed_at":"2015-06-23T18:55:15Z","git_url":"git://github.com/wilsonge/joomla-cms.git","ssh_url":"git@github.com:wilsonge/joomla-cms.git","clone_url":"https://github.com/wilsonge/joomla-cms.git","svn_url":"https://github.com/wilsonge/joomla-cms","homepage":"http://joomla.org","size":134854,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":1,"default_branch":"staging"}},"base":{"label":"joomla:staging","ref":"staging","sha":"36ca636b3dbc46405e352d0de6736545398e0718","user":{"login":"joomla","id":751633,"avatar_url":"https://avatars.githubusercontent.com/u/751633?v=3","gravatar_id":"","url":"https://api.github.com/users/joomla","html_url":"https://github.com/joomla","followers_url":"https://api.github.com/users/joomla/followers","following_url":"https://api.github.com/users/joomla/following{/other_user}","gists_url":"https://api.github.com/users/joomla/gists{/gist_id}","starred_url":"https://api.github.com/users/joomla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joomla/subscriptions","organizations_url":"https://api.github.com/users/joomla/orgs","repos_url":"https://api.github.com/users/joomla/repos","events_url":"https://api.github.com/users/joomla/events{/privacy}","received_events_url":"https://api.github.com/users/joomla/received_events","type":"Organization","site_admin":false},"repo":{"id":2464908,"name":"joomla-cms","full_name":"joomla/joomla-cms","owner":{"login":"joomla","id":751633,"avatar_url":"https://avatars.githubusercontent.com/u/751633?v=3","gravatar_id":"","url":"https://api.github.com/users/joomla","html_url":"https://github.com/joomla","followers_url":"https://api.github.com/users/joomla/followers","following_url":"https://api.github.com/users/joomla/following{/other_user}","gists_url":"https://api.github.com/users/joomla/gists{/gist_id}","starred_url":"https://api.github.com/users/joomla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joomla/subscriptions","organizations_url":"https://api.github.com/users/joomla/orgs","repos_url":"https://api.github.com/users/joomla/repos","events_url":"https://api.github.com/users/joomla/events{/privacy}","received_events_url":"https://api.github.com/users/joomla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/joomla/joomla-cms","description":"Home of the Joomla! Content Management System","fork":false,"url":"https://api.github.com/repos/joomla/joomla-cms","forks_url":"https://api.github.com/repos/joomla/joomla-cms/forks","keys_url":"https://api.github.com/repos/joomla/joomla-cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joomla/joomla-cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joomla/joomla-cms/teams","hooks_url":"https://api.github.com/repos/joomla/joomla-cms/hooks","issue_events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/events{/number}","events_url":"https://api.github.com/repos/joomla/joomla-cms/events","assignees_url":"https://api.github.com/repos/joomla/joomla-cms/assignees{/user}","branches_url":"https://api.github.com/repos/joomla/joomla-cms/branches{/branch}","tags_url":"https://api.github.com/repos/joomla/joomla-cms/tags","blobs_url":"https://api.github.com/repos/joomla/joomla-cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joomla/joomla-cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joomla/joomla-cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/joomla/joomla-cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joomla/joomla-cms/statuses/{sha}","languages_url":"https://api.github.com/repos/joomla/joomla-cms/languages","stargazers_url":"https://api.github.com/repos/joomla/joomla-cms/stargazers","contributors_url":"https://api.github.com/repos/joomla/joomla-cms/contributors","subscribers_url":"https://api.github.com/repos/joomla/joomla-cms/subscribers","subscription_url":"https://api.github.com/repos/joomla/joomla-cms/subscription","commits_url":"https://api.github.com/repos/joomla/joomla-cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/joomla/joomla-cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/joomla/joomla-cms/contents/{+path}","compare_url":"https://api.github.com/repos/joomla/joomla-cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joomla/joomla-cms/merges","archive_url":"https://api.github.com/repos/joomla/joomla-cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joomla/joomla-cms/downloads","issues_url":"https://api.github.com/repos/joomla/joomla-cms/issues{/number}","pulls_url":"https://api.github.com/repos/joomla/joomla-cms/pulls{/number}","milestones_url":"https://api.github.com/repos/joomla/joomla-cms/milestones{/number}","notifications_url":"https://api.github.com/repos/joomla/joomla-cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joomla/joomla-cms/labels{/name}","releases_url":"https://api.github.com/repos/joomla/joomla-cms/releases{/id}","created_at":"2011-09-27T02:07:38Z","updated_at":"2015-06-22T08:34:38Z","pushed_at":"2015-06-23T15:09:05Z","git_url":"git://github.com/joomla/joomla-cms.git","ssh_url":"git@github.com:joomla/joomla-cms.git","clone_url":"https://github.com/joomla/joomla-cms.git","svn_url":"https://github.com/joomla/joomla-cms","homepage":"http://joomla.org","size":328265,"stargazers_count":1581,"watchers_count":1581,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1759,"mirror_url":null,"open_issues_count":563,"forks":1759,"open_issues":563,"watchers":1581,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/joomla/joomla-cms/pulls/7255"},"html":{"href":"https://github.com/joomla/joomla-cms/pull/7255"},"issue":{"href":"https://api.github.com/repos/joomla/joomla-cms/issues/7255"},"comments":{"href":"https://api.github.com/repos/joomla/joomla-cms/issues/7255/comments"},"review_comments":{"href":"https://api.github.com/repos/joomla/joomla-cms/pulls/7255/comments"},"review_comment":{"href":"https://api.github.com/repos/joomla/joomla-cms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/joomla/joomla-cms/pulls/7255/commits"},"statuses":{"href":"https://api.github.com/repos/joomla/joomla-cms/statuses/00359fd06f83a0e5bd32c290bf7ae843f079f0fb"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":38,"deletions":6,"changed_files":3}}