Bug #2423
open[Tiện ích][Rerating error][Export rerating error file][Lỗi backend] Nhập tháng 13 của fromTimeProcess và toTimeProcess hiển thị sai cảnh báo
100%
Description
Step 1: Test api với url: http://10.207.252.137:8040/api/roaming/rerating-error/export-rating-error-file
Step 2: request
{
"isExcel": false,
"header":[
{"index": 0, "header": "Direction",
"indexOfData": 4},
{ "index": 1, "header": "Type",
"indexOfData": 3},
{ "index": 2, "header": "Source file",
"indexOfData": 0},
{ "index": 3, "header": "Process name",
"indexOfData": 1},
{ "index": 4, "header": "Time process",
"indexOfData": 7},
{ "index": 5, "header": "File name",
"indexOfData": 2},
{ "index": 6, "header": "Error code",
"indexOfData": 5},
{ "index": 7, "header": "Description",
"indexOfData": 6},
],
"searchRequest": {
"orderList": null,
"direction": 2,
"type": 1,
"fileType": 1,
"processName": null,
"fileName": null,
"errorCode": null,
"fromTimeProcess": "01/12/2024 00:00:00",
"toTimeProcess": "24/01/2025 23:59:59",
"status": null
},
"ids": [4]
}
Step 3: Nhập tháng 13 cho trường fromTimeProcess, nhấn send để check, sau đó nhập tháng 13 cho trường toTimeProcess, nhấn send
"fromTimeProcess": "01/13/2024 00:00:00",
"toTimeProcess": "24/13/2025 23:59:59",
Kết quả mong đợi:
-Hiển thị cảnh báo: [RM2_WEB_ERROR_000001] Date {} does not exits.
Kết quả thực tế:
-Hiển thị cảnh báo: [RM02_WEB_ERROR_000061] Date time {} invalid format. Only dd/mm/yyyy HH:mm:ss is accepted
Updated by Đỗ Huy Linh 3 months ago
- Status changed from Open to Done
- Assignee set to Anh Vương Quốc
- Target version set to Giai đoạn 4
- % Done changed from 0 to 100
- Estimated time set to 1:00 h
- Due Date - Customer set to 09/17/2025
- Start Date - Customer set to 09/17/2025