Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #36611 Back to Issue ]
Summary 0036611: 2nd attempt to 'Delete row' after first delete was stopped does not work and shows 'Deleting ...' forever
Revision 2017-08-10 10:15 by alostale
Steps To Reproduce 1. Good shipment window
2. Create new record + save
3. Complete the record

Having header in form view:
4a. Try deleting this completed
  -> OK: Error message is shown not allowing to delete it
  -> ERROR: Check lines subtab: "Select a parent record" message is seen
5a. Without navigating to any other record, try to delete it again
  -> ERROR: Message in delete confirmation is incorrect: "Are you sure that you want to delete the 0 selected records?" where it should be "Are you sure that you want to delete the selected record? "
  -> ERROR: deleting popup stays forever due to a js error

Having header in grid view:
4b. Try deleting this completed
  -> OK: Error message is shown not allowing to delete it
  -> ERROR: Check lines subtab: "Select a parent record" message is seen
  -> ERROR: focus from header record is lost not appearing any record as selected in header grid
Revision 2017-08-07 09:38 by alostale
Steps To Reproduce Good shipment window
Create new record + save
Complete the record
Try deleting this completed record 2 times
Revision 2017-08-07 09:38 by shuehner
Description Deleting a already processed "Good Shipment" (having 1 line) is stopped by a trigger (functional check).
When trying to delete a 2nd time a few problems happen

1.) Deletion confirm shows 'do you want to delete the 0 selected rows'
Missing selection
2.) Lines tab does show 0 record, missing the 1 existing line
3.) After confirming delete progress 'Deleting ...' is shown forever

Reloading with F5 'resets' to reproduce issue again
Revision 2017-08-07 09:38 by shuehner
Description Deleting completed Goods shipment is blocked by a functional trigger as seen in pg log:
2017-08-04 13:45:18 CEST [11263-1] tadpiretail@obpiretail ERROR: @20501@
2017-08-04 13:45:18 CEST [11263-2] tadpiretail@obpiretail STATEMENT: delete from M_InOutLine where M_InOutLine_ID=$1

However uses does get broken behavior
1.) first delete ->
Server returned FAILURE with no error message.
See first attachment

Notice useless message instead of relying message from ad-message.value=20501 (Document posted/processed)

2.) Pressing ok + trying to delete again next errors Happens
Popup shows 'DEleting ... forever'
JS Error in browser console
See 2nd+3rd attachment


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker