Skip to content

[Role API] Returns invalid skills message when creating a role with valid skills #292

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sdgun opened this issue Jun 2, 2021 · 2 comments

Comments

@sdgun
Copy link
Collaborator

sdgun commented Jun 2, 2021

Steps
Call create role end point with the below skills set(these skills appear in the skills page in the intake app)
"listOfSkills": [
"JavaScript",
"Java",
"CSS",
"Git",
"React.js",
"Angularjs",
".Net",
"Actian Database",
"C++",
"C",
"Commerce Server 2009",
"IBM Rational Application Developer",
"IBM Websphere Application Server",
"R",
"Vert.X",
"yii"
],

Current behavior
Returns { "message": "skills: "javascript,java,css,git,angularjs,.net,vert.x" are not valid"}

Expected behavior
Should create the role since these are valid skills

Note: But if you send the same request by removing some skills like "IBM Rational Application Developer" and "IBM Websphere Application Server", from the above skills list, it creates the role

This is common to update end point too

@sdgun sdgun added bug Something isn't working P2 Role-Matching-Intake labels Jun 2, 2021
@sdgun sdgun changed the title [Role API] Returns invalid skills when creating a role with valid skills [Role API] Returns invalid skills message when creating a role with valid skills Jun 2, 2021
@eisbilir
Copy link
Member

eisbilir commented Jun 2, 2021

@nikolay83
PR created: #299

nikolay83 added a commit that referenced this issue Jun 3, 2021
@sdgun sdgun added the Dev env label Jun 4, 2021
@sdgun
Copy link
Collaborator Author

sdgun commented Jun 4, 2021

Verified with multiple sets of skills and roles were created without an issue with the given skills.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants