Your career: a skill saved without a group is shown nowhere, not on the overview, the preview or a CV #617
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
performance
security
tier
1
tier
2
tier
3
tier/4
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Postulo/postulo#617
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found on 2026-09-29 in a read-only review of postulo at
95348908d, following how skills are drawn on each page, and settled by posting the skill form in a test.Checked again on 2026-10-01 against
mainat0a5cad587: still present. The code is now atdocuments/rendering.py:39-47anddocuments/rendering.py:311-312; the other locations are where they were.Skill.groupis optional and the skill form offers it with a blank default, but every page draws skills only through their group. A skill saved without one is acknowledged with Added. and then appears on no page: it cannot be seen, edited or deleted except by typing its address.resume/models.py:149-156(group = models.ForeignKey(..., null=True, blank=True));resume/forms.py:153-189(SkillForm,fields = ("name", "group", "order"));resume/registry.py:83-91(OVERVIEW_ORDERlistsskill-group, notskill);templates/resume/overview.html:143-157(skills drawn only asitem.skills.allunder each group, and the Add a skill link there passes no group);resume/views.py:342-349(the preview passes onlyskill_groups);documents/rendering.py:32-40and:337-338,templates/documents/themes/base_cv.html:59-62(a CV prints skills only as a group'sskill_names).resume/views.py:87buildscontext["skills"]for the overview, and no template reads it.group_idNone, and the name appears neither on the overview nor on the preview. Skills read from a candidate file whose entry names nogroup_idare added ungrouped the same way (resume/candidate.py:1118-1122,:1349).SkillForm(with the candidate importer refusing, or filing under a named default group, a skill whose file names none), or draw ungrouped skills: an Other skills block on the overview, the preview and CVs, fed by the query already incontext["skills"]. Either way, have the Add a skill link under a group pass?group=<pk>and use it as the form's initial value.Done when
tests/test_career_sections.pysaves a skill with no group and then finds it on the overview (or, under the other rule, is refused by the form), and a test shows that Add a skill under a group opens the form with that group chosen.