Stories: new stories are orphaned from any project and detail shows raw SID #137
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_archipelagos#137
Loading…
Add table
Add a link
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?
Two related bugs in the Stories island combine to make stories unusable in a multi-project setup:
new_story_view.rspassesproject_sid: NonetoStoryForm, andstory_form.rshas no project picker field. Every created story is persisted withproject_sid = Noneso no story can ever be linked to the project the user intended it for.story_detail_view.rsrenders the storedproject_sidvalue verbatim (e.g.proj_01HX…) instead of looking the project up viaProjectServiceand showing its name.Fix:
story_form.rs(sourced fromProjectService::list), defaulting to the currently-selected project if any.story_detail_view.rs, resolveproject_sidto a project and renderproject.name; fall back to—when no project is set.