Skip to content

fix(tracker): give the milestone status type a translatable label - #11093

Open
MichaelUray wants to merge 1 commit into
hcengineering:developfrom
MichaelUray:fix/milestone-status-label
Open

MichaelUray wants to merge 1 commit into
hcengineering:developfrom
MichaelUray:fix/milestone-status-label

Conversation

@MichaelUray

Copy link
Copy Markdown
Contributor

Fixes #10900

Problem and change

TypeMilestoneStatus() used the raw string 'TypeMilestoneStatus' as its IntlString label. It is not a valid plugin string id, so Settings > Classes > Milestone showed "Invalid Id: TypeMilestoneStatus" for the Status attribute type.

Add a tracker.string.TypeMilestoneStatus id (next to TypeIssuePriority) with translations in all tracker-assets language files and use it as the type label.

Tests

Manual: Settings → Classes → Milestone → Status shows "Milestone status" instead of "Invalid Id" (after the model upgrade).

TypeMilestoneStatus() used the raw string 'TypeMilestoneStatus' as its IntlString label. It is not a valid plugin string id, so Settings > Classes > Milestone showed "Invalid Id: TypeMilestoneStatus" for the Status attribute type.

Add a tracker.string.TypeMilestoneStatus id (next to TypeIssuePriority) with translations in all tracker-assets language files and use it as the type label.

Fixes hcengineering#10900

Signed-off-by: Michael Uray <michaeluray@users.noreply.github.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Error - Invalid Id: TypeMilestoneStatus

1 participant