Can't create milestones because there is nowhere to input the release #279

Closed
opened 2023-09-14 21:00:25 +00:00 by adamwill · 14 comments
Owner

It seems impossible to create milestones in the admin interface right now (in whatever's deployed to production). When you try to create a milestone, the form you're shown has no "release" field, as it used to. If you ignore that and try to create the milestone, you get an error "Failed to create model. 'MilestoneForm' object has no attribute 'release'".

We need this fixed before F39 Final is done or else we won't be able to track F40 blockers.

It seems impossible to create milestones in the admin interface right now (in whatever's deployed to production). When you try to create a milestone, the form you're shown has no "release" field, as it used to. If you ignore that and try to create the milestone, you get an error "Failed to create model. 'MilestoneForm' object has no attribute 'release'". We need this fixed before F39 Final is done or else we won't be able to track F40 blockers.
Author
Owner

I do wonder if a7310ec is the culprit here - I think the change:

-    release_id = db.Column(db.Integer, db.ForeignKey('release.id'))
+    release_id: db.Mapped[Optional[int]] = db.mapped_column(db.ForeignKey('release.id'))

i.e. making the "release_id" option for the Milestone class might be the issue? @kparal

I do wonder if a7310ec is the culprit here - I think the change: - release_id = db.Column(db.Integer, db.ForeignKey('release.id')) + release_id: db.Mapped[Optional[int]] = db.mapped_column(db.ForeignKey('release.id')) i.e. making the "release_id" option for the Milestone class might be the issue? @kparal
Owner

Ugh, thanks for a report, I'll look at it.

or else we won't be able to track F40 blockers

We should still be able to create milestones using a command line on the server. If you wish, we can do it right away.

Ugh, thanks for a report, I'll look at it. > or else we won't be able to track F40 blockers We should still be able to create milestones using a command line on the server. If you wish, we can do it right away.
Owner

Issue tagged with: next

Issue tagged with: next
Contributor

@adamwill I've added F40 FE/Blocker to the prod deployment, will leave this ticket open as the underlying issue isn't fixed yet.

@adamwill I've added F40 FE/Blocker to the prod deployment, will leave this ticket open as the underlying issue isn't fixed yet.
Owner

Metadata Update from @kparal:

  • Issue untagged with: next
  • Issue priority set to: High (was: Critical)
**Metadata Update from @kparal**: - Issue **un**tagged with: next - Issue priority set to: High (was: Critical)
Owner

Issue tagged with: next

Issue tagged with: next
Author
Owner

Ping? We kinda need to add the F41 trackers, I can't because of this.

Ping? We kinda need to add the F41 trackers, I can't because of this.
Owner

@frantisekz Can you please add F41 milestones using the cmdline?

@frantisekz Can you please add F41 milestones using the cmdline?
Contributor

@frantisekz Can you please add F41 milestones using the cmdline?

Yeah, I can (and will) add it via the cmdline in a bit, but let this be a reminder of this though 😁

Ugh, thanks for a report, I'll look at it.

Also, it's possible this entire process to be handled automatically, as we do so in oraculum: https://pagure.io/fedora-qa/oraculum/blob/master/f/oraculum/utils/bugzilla.py#_29-72

> @frantisekz Can you please add F41 milestones using the cmdline? Yeah, I can (and will) add it via the cmdline in a bit, but let this be a reminder of this though 😁 > Ugh, thanks for a report, I'll look at it. Also, it's possible this entire process to be handled automatically, as we do so in oraculum: https://pagure.io/fedora-qa/oraculum/blob/master/f/oraculum/utils/bugzilla.py#_29-72
Contributor

Ping? We kinda need to add the F41 trackers, I can't because of this.

Added, should appear in the next sync window. Assigning to @kparal now for a proper fix, if you no longer want to work on this, feel free to remove the assignment.

> Ping? We kinda need to add the F41 trackers, I can't because of this. Added, should appear in the next sync window. Assigning to @kparal now for a proper fix, if you no longer want to work on this, feel free to remove the assignment.
Contributor

Metadata Update from @frantisekz:

  • Issue assigned to kparal
**Metadata Update from @frantisekz**: - Issue assigned to kparal
Owner

Metadata Update from @kparal:

  • Assignee reset
  • Custom field story_points adjusted to 3
**Metadata Update from @kparal**: - Assignee reset - Custom field story_points adjusted to 3
kparal added this to the Next BB tasks project 2026-01-16 15:28:57 +00:00
jgroman removed this from the Next BB tasks project 2026-06-02 12:42:03 +00:00
jgroman added this to the Sprint 11 project 2026-06-02 12:42:11 +00:00
jgroman self-assigned this 2026-06-02 12:42:14 +00:00
Author
Owner

yaaaay finally somebody is going to fix this?!

yaaaay finally somebody is going to fix this?!
Owner

All we needed to do was to hire some capable people 😉

All we needed to do was to hire some capable people 😉️
kparal self-assigned this 2026-06-10 09:09:06 +00:00
Sign in to join this conversation.
No milestone
No project
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
quality/blockerbugs#279
No description provided.