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

Also available in: Atom PDF