Project

General

Profile

Actions

Defect #35066

closed

Missing project_id in redirect after clicking "Create and add another" button

Added by Jérôme BATAILLE about 3 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Time tracking
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

While using create and add another button with a plugin I have developed I have an issue with an empty drop-down in a custom field :
  1. first step :
    first_step
  2. second step :
    second_step

The issue is caused by a missing intialisation of the TimeEntry.
Here is a patch to fix this.


Files

Project_Enumerations_create_and_add_another2.png (28.5 KB) Project_Enumerations_create_and_add_another2.png second_step Jérôme BATAILLE, 2021-04-09 23:59
Project_Enumerations_create_and_add_another.png (29.3 KB) Project_Enumerations_create_and_add_another.png first_step Jérôme BATAILLE, 2021-04-09 23:59
timelog_controller.diff (701 Bytes) timelog_controller.diff Jérôme BATAILLE, 2021-04-10 00:09
35066-v2.patch (1.42 KB) 35066-v2.patch Go MAEDA, 2021-05-24 16:48

Related issues

Related to Redmine - Defect #38237: Unable to choose any user other than the current user when logging spent time after clicking "Create and add another"ClosedGo MAEDA

Actions
Actions #2

Updated by Holger Just almost 3 years ago

  • Description updated (diff)
Actions #3

Updated by Go MAEDA almost 3 years ago

Updated the patch. The patch now includes an update to the test.

Actions #4

Updated by Jérôme BATAILLE almost 3 years ago

Thanks Go.

Actions #5

Updated by Go MAEDA about 1 year ago

  • Related to Defect #38237: Unable to choose any user other than the current user when logging spent time after clicking "Create and add another" added
Actions #6

Updated by Go MAEDA about 1 year ago

  • Target version changed from Candidate for next major release to 4.2.10

Setting the target version to 4.2.10.

Actions #7

Updated by Go MAEDA about 1 year ago

  • Subject changed from Create time entry and add another on project, initialize project_id to Missing project_id in redirect after clicking "Create and add another" button
  • Status changed from New to Resolved
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the patch. Thank you for your contribution.

Actions #8

Updated by Go MAEDA about 1 year ago

  • Status changed from Resolved to Closed
Actions #9

Updated by Go MAEDA about 1 year ago

  • Tracker changed from Feature to Defect
Actions

Also available in: Atom PDF