Fossil Forum

yendor 2 months ago

Post: Why does New Ticket->Preview change priority, but Edit Ticket->Preview does not?

I noticed that while creating new tickets, when I change the priority from the default and press "Preview" the priority is changed back to the default. However, if I am editing an existing ticket, change the priority, and press "Preview", the priority field is not affected.

I have tweaked my setup a little bit so it could be my fault, but I haven't done anything with the priority field. I looked at the HTML/TH1 for those two pages and don't see them doing anything different.

Is this by design, my fault, or a bug?

florian.balmer 2 months ago

This works for me with the current Fossil snapshot build [c17764f0f1].

Just to make sure I've tested exactly what you've reported, here's my steps:

  • Create a new empty repository
  • Open the the /tktnew page to create a new ticket
  • Change the value of the Priority drop-down list from the default Immediate to Zero
  • Press Preview
  • The value of the Priority drop-down list remains Zero
  • Press Submit
  • The value of the Priority drop-down list remains Zero
  • Open the /tktedit web page to edit the previously created ticket
  • Change the value of the Priority drop-down list from Zero to Medium
  • Press Preview
  • The value of the Priority drop-down list remains Medium
  • Press Submit
  • The value of the Priority drop-down list remains Medium
yendor 1 month, 4 weeks ago

Thank you for the verification. Rats, it is my fault. Somehow the name of that combobox got changed to "severity". I should have done a file compare to find that. Sorry for wasting your time.

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button