{"expand":"renderedFields,names,schema,transitions,operations,editmeta,changelog","id":"156925","self":"http://jira.codehaus.org/rest/api/latest/issue/156925","key":"PLXUTILS-166","fields":{"progress":{"progress":0,"total":0},"summary":"Case insensitive environment block build incorrectly","timetracking":{},"issuetype":{"self":"http://jira.codehaus.org/rest/api/2/issuetype/1","id":"1","description":"A problem which impairs or prevents the functions of the product.","iconUrl":"http://jira.codehaus.org/images/icons/issuetypes/bug.png","name":"Bug","subtask":false},"customfield_10110":null,"votes":{"self":"http://jira.codehaus.org/rest/api/2/issue/PLXUTILS-166/votes","votes":0,"hasVoted":false},"resolution":null,"fixVersions":[],"resolutiondate":null,"customfield_10210":"0.0","timespent":null,"reporter":{"self":"http://jira.codehaus.org/rest/api/2/user?username=dmaslakov","name":"dmaslakov","emailAddress":"dmaslakov@gmail.com","avatarUrls":{"16x16":"http://jira.codehaus.org/secure/useravatar?size=xsmall&avatarId=10232","24x24":"http://jira.codehaus.org/secure/useravatar?size=small&avatarId=10232","32x32":"http://jira.codehaus.org/secure/useravatar?size=medium&avatarId=10232","48x48":"http://jira.codehaus.org/secure/useravatar?avatarId=10232"},"displayName":"Dmitry Maslakov","active":true},"aggregatetimeoriginalestimate":null,"customfield_10161":["dmaslakov(dmaslakov)"],"customfield_10160":null,"updated":"2014-10-02T02:31:07.351-0500","created":"2014-10-02T02:31:07.351-0500","description":"Method org.codehaus.plexus.util.cli.Commandline#addSystemEnvironment does not take into account the case insensitive environment variables. It results with following:\r\n\r\n- create Commandline object\r\n- call addEvironment(\"Path\", ...)\r\n- then call execute() (which performs merging of own vars with system vars)\r\n\r\nThe process will be created with two vars: Path and PATH.\r\nEspecially for the PATH environment variable Windows will fail to find the correct DLLs.\r\n\r\nThere could be other places where case insensitive vars are broken.\r\n\r\nThe workaround is using uppercase vars on Windows when calling addEnvironment.","priority":{"self":"http://jira.codehaus.org/rest/api/2/priority/3","iconUrl":"http://jira.codehaus.org/images/icons/priorities/major.png","name":"Major","id":"3"},"duedate":null,"issuelinks":[],"customfield_10163":"9072000","watches":{"self":"http://jira.codehaus.org/rest/api/2/issue/PLXUTILS-166/watchers","watchCount":1,"isWatching":false},"worklog":{"startAt":0,"maxResults":20,"total":0,"worklogs":[]},"subtasks":[],"status":{"self":"http://jira.codehaus.org/rest/api/2/status/1","description":"The issue is open and ready for the assignee to start work on it.","iconUrl":"http://jira.codehaus.org/images/icons/statuses/open.png","name":"Open","id":"1"},"customfield_10090":null,"labels":[],"workratio":-1,"assignee":null,"attachment":[],"customfield_10221":null,"customfield_10220":null,"customfield_10200":null,"aggregatetimeestimate":null,"customfield_10190":null,"project":{"self":"http://jira.codehaus.org/rest/api/2/project/11432","id":"11432","key":"PLXUTILS","name":"Plexus Utils","avatarUrls":{"16x16":"http://jira.codehaus.org/secure/projectavatar?size=xsmall&pid=11432&avatarId=10011","24x24":"http://jira.codehaus.org/secure/projectavatar?size=small&pid=11432&avatarId=10011","32x32":"http://jira.codehaus.org/secure/projectavatar?size=medium&pid=11432&avatarId=10011","48x48":"http://jira.codehaus.org/secure/projectavatar?pid=11432&avatarId=10011"},"projectCategory":{"self":"http://jira.codehaus.org/rest/api/2/projectCategory/10003","id":"10003","description":"various containers","name":"containers"}},"versions":[{"self":"http://jira.codehaus.org/rest/api/2/version/20654","id":"20654","name":"3.0.18","archived":false,"released":true,"releaseDate":"2014-09-27"}],"customfield_10170":null,"environment":"Windows","timeestimate":null,"customfield_10130":null,"aggregateprogress":{"progress":0,"total":0},"lastViewed":null,"components":[],"comment":{"startAt":0,"maxResults":0,"total":0,"comments":[]},"timeoriginalestimate":null,"aggregatetimespent":null}}