Skip to content
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

SingleSkillSummarySpec.load skill summary with badges sporadically fails #1773

Closed
sudo-may opened this issue Nov 3, 2022 · 1 comment
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@sudo-may
Copy link
Collaborator

sudo-may commented Nov 3, 2022

Error:    SingleSkillSummarySpec.load skill summary with badges:1213 Condition not satisfied:

summary.badges[0].badgeId == badge1.badgeId
|       |     |   |       |  |      |
|       |     |   badge2  |  |      badge1
|       |     |           |  [projectId:TestProject1, badgeId:badge1, name:Test Badge 1, enabled:true]
|       |     |           false
|       |     |           1 difference (83% similarity)
|       |     |           badge(2)
|       |     |           badge(1)
|       |     [name:Test Badge 2, badgeId:badge2, skillId:skill1, skillType:GlobalBadge]
|       [[name:Test Badge 2, badgeId:badge2, skillId:skill1, skillType:GlobalBadge], [name:Test Badge 1, badgeId:badge1, skillId:skill1, skillType:Badge]]
[projectId:TestProject1, projectName:Test Project#1, skillId:skill1, skill:Test Skill 1, points:0, totalPoints:10, todaysPoints:0, crossProject:false, type:Skill, copiedFromProjectId:null, copiedFromProjectName:null, pointIncrement:10, pointIncrementInterval:480, maxOccurrencesWithinIncrementInterval:1, description:[skillId:skill1, description:This skill [skill1] belongs to project [TestProject1], href:http://veryhelpfulwebsite-1, achievedOn:null, type:null, selfReporting:null], dependencyInfo:null, achievedOn:null, selfReporting:[approvalId:null, enabled:false, justificationRequired:false, type:null, requestedOn:null, rejectedOn:null, rejectionMsg:null], subjectName:null, subjectId:null, nextSkillId:skill2, prevSkillId:null, totalSkills:3, orderInGroup:1, isLastViewed:null, badges:[[name:Test Badge 2, badgeId:badge2, skillId:skill1, skillType:GlobalBadge], [name:Test Badge 1, badgeId:badge1, skillId:skill1, skillType:Badge]]]
@sudo-may sudo-may added the bug Something isn't working label Nov 3, 2022
@sudo-may sudo-may added this to the 2.2.0 milestone Nov 3, 2022
@sudo-may sudo-may self-assigned this Nov 3, 2022
sudo-may pushed a commit that referenced this issue Nov 3, 2022
@sudo-may
Copy link
Collaborator Author

sudo-may commented Nov 3, 2022

PR: #1775

dwalizer added a commit that referenced this issue Nov 3, 2022
@sudo-may sudo-may closed this as completed Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant