{"action":"created","issue":{"url":"https://api.github.com/repos/phingofficial/phing/issues/533","repository_url":"https://api.github.com/repos/phingofficial/phing","labels_url":"https://api.github.com/repos/phingofficial/phing/issues/533/labels{/name}","comments_url":"https://api.github.com/repos/phingofficial/phing/issues/533/comments","events_url":"https://api.github.com/repos/phingofficial/phing/issues/533/events","html_url":"https://github.com/phingofficial/phing/issues/533","id":181881485,"number":533,"title":"IfTask boolean issues with predefined properties (Trac #383)","user":{"login":"phing-issues-importer","id":22724931,"avatar_url":"https://avatars.githubusercontent.com/u/22724931?v=3","gravatar_id":"","url":"https://api.github.com/users/phing-issues-importer","html_url":"https://github.com/phing-issues-importer","followers_url":"https://api.github.com/users/phing-issues-importer/followers","following_url":"https://api.github.com/users/phing-issues-importer/following{/other_user}","gists_url":"https://api.github.com/users/phing-issues-importer/gists{/gist_id}","starred_url":"https://api.github.com/users/phing-issues-importer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phing-issues-importer/subscriptions","organizations_url":"https://api.github.com/users/phing-issues-importer/orgs","repos_url":"https://api.github.com/users/phing-issues-importer/repos","events_url":"https://api.github.com/users/phing-issues-importer/events{/privacy}","received_events_url":"https://api.github.com/users/phing-issues-importer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/phingofficial/phing/labels/defect","name":"defect","color":"FFFFFF"},{"url":"https://api.github.com/repos/phingofficial/phing/labels/Migrated%20from%20Trac","name":"Migrated from Trac","color":"FFFFFF"},{"url":"https://api.github.com/repos/phingofficial/phing/labels/phing-core","name":"phing-core","color":"FFFFFF"}],"state":"open","locked":false,"assignee":{"login":"mpdude","id":1202333,"avatar_url":"https://avatars.githubusercontent.com/u/1202333?v=3","gravatar_id":"","url":"https://api.github.com/users/mpdude","html_url":"https://github.com/mpdude","followers_url":"https://api.github.com/users/mpdude/followers","following_url":"https://api.github.com/users/mpdude/following{/other_user}","gists_url":"https://api.github.com/users/mpdude/gists{/gist_id}","starred_url":"https://api.github.com/users/mpdude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpdude/subscriptions","organizations_url":"https://api.github.com/users/mpdude/orgs","repos_url":"https://api.github.com/users/mpdude/repos","events_url":"https://api.github.com/users/mpdude/events{/privacy}","received_events_url":"https://api.github.com/users/mpdude/received_events","type":"User","site_admin":false},"assignees":[{"login":"mpdude","id":1202333,"avatar_url":"https://avatars.githubusercontent.com/u/1202333?v=3","gravatar_id":"","url":"https://api.github.com/users/mpdude","html_url":"https://github.com/mpdude","followers_url":"https://api.github.com/users/mpdude/followers","following_url":"https://api.github.com/users/mpdude/following{/other_user}","gists_url":"https://api.github.com/users/mpdude/gists{/gist_id}","starred_url":"https://api.github.com/users/mpdude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpdude/subscriptions","organizations_url":"https://api.github.com/users/mpdude/orgs","repos_url":"https://api.github.com/users/mpdude/repos","events_url":"https://api.github.com/users/mpdude/events{/privacy}","received_events_url":"https://api.github.com/users/mpdude/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/phingofficial/phing/milestones/33","html_url":"https://github.com/phingofficial/phing/milestones/4.0","labels_url":"https://api.github.com/repos/phingofficial/phing/milestones/33/labels","id":2057190,"number":33,"title":"4.0","description":null,"creator":{"login":"phing-issues-importer","id":22724931,"avatar_url":"https://avatars.githubusercontent.com/u/22724931?v=3","gravatar_id":"","url":"https://api.github.com/users/phing-issues-importer","html_url":"https://github.com/phing-issues-importer","followers_url":"https://api.github.com/users/phing-issues-importer/followers","following_url":"https://api.github.com/users/phing-issues-importer/following{/other_user}","gists_url":"https://api.github.com/users/phing-issues-importer/gists{/gist_id}","starred_url":"https://api.github.com/users/phing-issues-importer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phing-issues-importer/subscriptions","organizations_url":"https://api.github.com/users/phing-issues-importer/orgs","repos_url":"https://api.github.com/users/phing-issues-importer/repos","events_url":"https://api.github.com/users/phing-issues-importer/events{/privacy}","received_events_url":"https://api.github.com/users/phing-issues-importer/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":0,"state":"open","created_at":"2016-10-09T11:16:30Z","updated_at":"2016-10-09T11:19:54Z","due_on":null,"closed_at":null},"comments":11,"created_at":"2016-10-09T11:16:41Z","updated_at":"2016-10-09T11:21:14Z","closed_at":null,"body":"Hi all,\n\nI discovered an anomaly in the IfTask in combination with the failureproperty of the PhpUnittestTask.\n\nThe environment is Phing 2.3.3 with PHPUnit 3.3.17 on Ubuntu 9.10 using bash.\n\nIf you initialize the property used as failureproperty in the PhpUnittestTask through a PropertyTask first, the IfTask does no longer work as expected.\nI attached three example build scripts to clarify this, but in a nutshell it is like this:\n\nAssuming \n  <phpunit failureproperty=\"unittestFailed\">\nand \n  <if>\n    <equals arg1=\"${unittestFailed}\" arg2=\"1\" />\n    <then>\nwe have the following behaviour:\n\n- without initializing the unittestFailed property the if condition works as expected\n- with <property name=\"unittestFailed\" value=\"false\" /> the if condition will always enter the else-branch, regardless of the state of the unittests.\n- with <property name=\"unittestFailed\" value=\"true\" /> the if condition will always enter the then-branch, regardless of the state of the unittests.\n\nThis is not really a bug in my opinion, more a unclean behaviour. If might lead to incorrect behaviour however, if one and the same property (in this case unittestFailed) is used as common status flag for multiple tests which all have to go through.\n\nRegards,\nDominique\n\n--\nhttp://www.st/webdevelopment.de\n\n\nMigrated from http://localhost:3530/trac/ticket/383\n```json\n{\n    \"status\": \"reopened\", \n    \"changetime\": \"2016-10-07T08:28:55\", \n    \"description\": \"Hi all,\\n\\nI discovered an anomaly in the IfTask in combination with the failureproperty of the PhpUnittestTask.\\n\\nThe environment is Phing 2.3.3 with PHPUnit 3.3.17 on Ubuntu 9.10 using bash.\\n\\nIf you initialize the property used as failureproperty in the PhpUnittestTask through a PropertyTask first, the IfTask does no longer work as expected.\\nI attached three example build scripts to clarify this, but in a nutshell it is like this:\\n\\nAssuming \\n  <phpunit failureproperty=\\\"unittestFailed\\\">\\nand \\n  <if>\\n    <equals arg1=\\\"${unittestFailed}\\\" arg2=\\\"1\\\" />\\n    <then>\\nwe have the following behaviour:\\n\\n- without initializing the unittestFailed property the if condition works as expected\\n- with <property name=\\\"unittestFailed\\\" value=\\\"false\\\" /> the if condition will always enter the else-branch, regardless of the state of the unittests.\\n- with <property name=\\\"unittestFailed\\\" value=\\\"true\\\" /> the if condition will always enter the then-branch, regardless of the state of the unittests.\\n\\nThis is not really a bug in my opinion, more a unclean behaviour. If might lead to incorrect behaviour however, if one and the same property (in this case unittestFailed) is used as common status flag for multiple tests which all have to go through.\\n\\nRegards,\\nDominique\\n\\n--\\nhttp://www.st/webdevelopment.de\\n\", \n    \"reporter\": \"saloon12yrd@yahoo.com\", \n    \"cc\": \"Mp@webfactory.de\", \n    \"resolution\": \"\", \n    \"_ts\": \"1475828935569836\", \n    \"component\": \"phing-core\", \n    \"summary\": \"IfTask boolean issues with predefined properties\", \n    \"priority\": \"major\", \n    \"keywords\": \"properties, PhpUnitTask, boolean, ifTask\", \n    \"version\": \"2.3.3\", \n    \"time\": \"2009-11-17T04:47:16\", \n    \"milestone\": \"4.0\", \n    \"owner\": \"mp\", \n    \"type\": \"defect\"\n}\n```\n"},"comment":{"url":"https://api.github.com/repos/phingofficial/phing/issues/comments/252480595","html_url":"https://github.com/phingofficial/phing/issues/533#issuecomment-252480595","issue_url":"https://api.github.com/repos/phingofficial/phing/issues/533","id":252480595,"user":{"login":"phing-issues-importer","id":22724931,"avatar_url":"https://avatars.githubusercontent.com/u/22724931?v=3","gravatar_id":"","url":"https://api.github.com/users/phing-issues-importer","html_url":"https://github.com/phing-issues-importer","followers_url":"https://api.github.com/users/phing-issues-importer/followers","following_url":"https://api.github.com/users/phing-issues-importer/following{/other_user}","gists_url":"https://api.github.com/users/phing-issues-importer/gists{/gist_id}","starred_url":"https://api.github.com/users/phing-issues-importer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phing-issues-importer/subscriptions","organizations_url":"https://api.github.com/users/phing-issues-importer/orgs","repos_url":"https://api.github.com/users/phing-issues-importer/repos","events_url":"https://api.github.com/users/phing-issues-importer/events{/privacy}","received_events_url":"https://api.github.com/users/phing-issues-importer/received_events","type":"User","site_admin":false},"created_at":"2016-10-09T11:21:14Z","updated_at":"2016-10-09T11:21:14Z","body":"Trac update at 20161007T08:28:55: \n* mrook commented:\n\n> Milestone renamed\n\n\n* mrook changed milestone from \"3.0\" to \"4.0\""}}
{"actor":{"display_login":"phing-issues-importer"}}