unsupported.environment.selection on all setting of environmentgroups for a testcaseversion

RESOLVED INVALID

Status

Mozilla QA
Case Conductor-Platform
--
major
RESOLVED INVALID
7 years ago
7 years ago

People

(Reporter: carljm, Unassigned)

Tracking

Details

(Reporter)

Description

7 years ago
I'm getting unsupported.environment.selection anytime I try to set environment groups for a test case version. test case and version are not yet activated or approved, environment groups I am PUTting are all valid for the parent product. See below:


23:13:32,168 INFO  [LoggingInInterceptor] Inbound Message
----------------------------
ID: 207
Address: /tcm/services/v2/rest/testcases/versions/42/environmentgroups
Encoding: ISO-8859-1
Content-Type: application/x-www-form-urlencoded
Headers: {cookie=[USERTOKEN=H4sIAAAAAAAAAJWTvU8UQRjGZ/cORVBASBRUbFSiiVlip6FhPZbLhmX3vA8QCy9zu8MxsF/OzsEeBYFGY0ys0ITCxMLK0Fj4N1jYaWejscaaxFj4zh3n7SkR3WKTmfc3z/vMzDO731BXxJAVsKoShYz61UWGPbIWsBUlInaNUV5XcI0vEZ9TG3Ma+EopIswHKIejCEBH7SgXgxXix5+2n3++s/NYRrKBem1GHAFgN+Jo0FjGq3jcxX513KosE5tPGOiEaG3TELsP0AaSYoay/+NIrUScYZsf4uTj66sbftbpk1HqHjqVWEcccCbGAShSAs7ONJ3VOHXHM4HrgjVQAXfHHcIxdaOmt1CCAxsTqCJQpY1Gl0u+Fzh0keKKSwwa8R/9V2683Xs6ICPJQGkXZjgaSLQRzATs9vrRcu35kdto8/39/YsNUckWrlJxCKaG2ioqY7gu1OOtD6M77/CLFJJ0lI7oOolDhFDPWlr8YdHkXw/aDhhRWqdUV7IM+3ByamtC90IXNT+puUcWuKTzkgtcaE/EIUcXclp+Vi8UdMssZ6zZnGoulHVz2irP6dp843h7OTqbgHJ5a6qUKXbURxL1olYoljNqQfsHQpvSiy3i3B/EQsboFBn+HcmXzKOBZJOxwwAVxllzVjOLZe2ulikVtRZ+PoFr5pyet5pYsue1wyTbWyxoxvRBh1is6AlFLMbswINUQMQVJ/AwhfeSfAbiOev+YnDL2fy+ur43LKO0gbrFnU9BuTOvYgYexBD1QlgVBf4vAYejocSl6xCTKmHAHqs1ysLOJdAVIxNiJsYnG6nta6dWyC8tb0kzC3wkhVAcrnVDsJTozUx/Az3dQEUD5aDB4NeXr/a3Ht2URby7VrFbI/CcBtqcWfMqhD3cfTbau/3liSxEIawyRNT2SJ2wSS9Yp66LIeneT76AgNENBQAA], content-type=[application/x-www-form-urlencoded], host=[localhost:8080], Content-Length=[108], user-agent=[TCMui/0.2], accept-encoding=[identity], Content-Type=[application/x-www-form-urlencoded], Accept=[application/json]}
Payload: originalVersionId=0&environmentGroupIds=8&environmentGroupIds=4&environmentGroupIds=10&environmentGroupIds=6
--------------------------------------
23:13:32,169 INFO  [STDOUT] Cookie name=USERTOKEN; value=[H4sIAAAAAAAAAJWTvU8UQRjGZ/cORVBASBRUbFSiiVlip6FhPZbLhmX3vA8QCy9zu8MxsF/OzsEeBYFGY0ys0ITCxMLK0Fj4N1jYaWejscaaxFj4zh3n7SkR3WKTmfc3z/vMzDO731BXxJAVsKoShYz61UWGPbIWsBUlInaNUV5XcI0vEZ9TG3Ma+EopIswHKIejCEBH7SgXgxXix5+2n3++s/NYRrKBem1GHAFgN+Jo0FjGq3jcxX513KosE5tPGOiEaG3TELsP0AaSYoay/+NIrUScYZsf4uTj66sbftbpk1HqHjqVWEcccCbGAShSAs7ONJ3VOHXHM4HrgjVQAXfHHcIxdaOmt1CCAxsTqCJQpY1Gl0u+Fzh0keKKSwwa8R/9V2683Xs6ICPJQGkXZjgaSLQRzATs9vrRcu35kdto8/39/YsNUckWrlJxCKaG2ioqY7gu1OOtD6M77/CLFJJ0lI7oOolDhFDPWlr8YdHkXw/aDhhRWqdUV7IM+3ByamtC90IXNT+puUcWuKTzkgtcaE/EIUcXclp+Vi8UdMssZ6zZnGoulHVz2irP6dp843h7OTqbgHJ5a6qUKXbURxL1olYoljNqQfsHQpvSiy3i3B/EQsboFBn+HcmXzKOBZJOxwwAVxllzVjOLZe2ulikVtRZ+PoFr5pyet5pYsue1wyTbWyxoxvRBh1is6AlFLMbswINUQMQVJ/AwhfeSfAbiOev+YnDL2fy+ur43LKO0gbrFnU9BuTOvYgYexBD1QlgVBf4vAYejocSl6xCTKmHAHqs1ysLOJdAVIxNiJsYnG6nta6dWyC8tb0kzC3wkhVAcrnVDsJTozUx/Az3dQEUD5aDB4NeXr/a3Ht2URby7VrFbI/CcBtqcWfMqhD3cfTbau/3liSxEIawyRNT2SJ2wSS9Yp66LIeneT76AgNENBQAA]
23:13:32,188 INFO  [PhaseInterceptorChain] Application {http://v2.impl.webservice.utest.com/}CompanyWebServiceImpl has thrown exception, unwinding now: com.utest.exception.UnsupportedEnvironmentSelectionException: null
23:13:32,189 INFO  [LoggingInInterceptor] Outbound Message
---------------------------
ID: 207
Response-Code: 409
Encoding: ISO-8859-1
Content-Type: application/json
Headers: {}
Payload: {"errors":[{"error":"unsupported.environment.selection"}]}
--------------------------------------
(Reporter)

Comment 1

7 years ago
Looks like somehow most of the environmentgroups for the product in my local DB were removed. Probably something I did by mistake - didn't realize the platform would allow removal of environmentgroups for a product when they are already in use in child test cases and cycles/runs. Apologies for the false alarm.
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.