Project

General

Profile

Actions

Defect #7099

closed

404 when entering time with blank issue #

Added by Adam Soltys about 14 years ago. Updated about 14 years ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

When entering time against a project without specifying an issue number, I get a 404 error when running on the latest edge version of the code.

The problem seems to have been introduced by r4461: "Adds REST API for TimeEntries (#6823)."

I've been trying to figure out how to solve it but haven't managed to yet.


Files

fix_time_entry_404.diff (2.38 KB) fix_time_entry_404.diff Adam Soltys, 2010-12-13 07:41
fix_time_entry_404.diff (2.34 KB) fix_time_entry_404.diff Adam Soltys, 2010-12-13 07:52
Actions #1

Updated by Adam Soltys about 14 years ago

I think I've figured it out. Attaching patch with failing test case and fix. Please review.

Actions #2

Updated by Adam Soltys about 14 years ago

Sorry, that test wouldn't actually fail before the fix. Now it should.

Actions #3

Updated by Jean-Philippe Lang about 14 years ago

  • Status changed from New to Closed
  • Resolution set to Fixed

Fixed in r4511, thanks for pointing this out.

Actions

Also available in: Atom PDF