Getting 500 when trying to download Ideal Stock Amounts.

Description

Reproduction steps:

Reproduction steps 2:

  • call /api/idealStockAmounts?format=csv endpoint

Environment

None

Activity

Show:
Sam Im
November 2, 2017, 5:55 PM

Which test case is associated with this bug?

Chongsun Ahn
November 2, 2017, 8:53 PM

This bug is coming up because the ISA search, for the CSV download, only returns the processing period id and name, and during export, the durationInMonths is trying to be calculated, which needs start and end date. The fix is to either have IdealStockAmountCsvModel not do a full object export, or have the ISA search return the start and end dates for the processing periods.

Ben Leibert
November 6, 2017, 8:10 PM

Neither reproduction steps 1 nor 2 still yield an error. Because they result in proper behavior, this ticket may be considered Done.

Assignee

Paweł Albecki

Reporter

Nikodem Graczewski

Story Points

2

Time tracking

0m

Time remaining

5h 30m

Components

Sprint

None

Fix versions

Priority

Critical
Configure