Project

General

Profile

Actions

Task #17756

closed

File Reference: Unable to delete HBL reference

Added by Redmine Admin 7 months ago. Updated 24 minutes ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Start date:
10/11/2024
Due date:
10/11/2024
% Done:

100%

Estimated time:
0:00 h
Spent time:
GitLab ID:
1420
GitLab Milestone:
GitLab Ticket Number:
168
GitLab Time Logged:
3600
Lock Timeline Date:
No
gitlab project trace:

Description

Steps to reproduce issue

  • Navigate to Ocean > Export > File Reference Screen
  • From the list select a File reference ( status = In progress)
  • Click on the + sign , Add an HBL
  • Fill in all required fields
  • Under sales section , Add Sales
  • Save File reference
  • Select any HBL, click on Delete

Actual

  • HBL reference number is not being deleted from the list (See attached)
  • PSQLException: ERROR: update or delete on table "billoflading"violates foreign key constraint "fkj7lewyttf9xssrkm8r5fxnl4n"on table "charge"Detail: Key(id)=(169)is still referenced from table "charge".

Expected

  • HBL reference number should not be displayed after it has been deleted

20241011-0833-42.3778359.mp4


GitLab Sync Log

[{"id": "10524", "author": "Vishesh Jodhoa", "hours": 1.0, "created": "2024-10-23T11:24:11.783Z", "log_date": "2024-10-23", "comment": "Imported from GitLab by @Vishesh Jodhoa on 2024-10-23T11:24:11.783Z: 1h-(1.0)h spend at: 2024-10-23", "status": "active", "deleted_by": "", "redmine_entry_id": 9166}]

Actions

Also available in: Atom PDF