Project

General

Profile

Actions

Bug #80352

open

RecordList: Delete record: referenced records don't have a fancy delete fade out animation

Added by Josef Glatz over 7 years ago. Updated over 4 years ago.

Status:
Accepted
Priority:
Should have
Assignee:
Category:
Backend User Interface
Start date:
2017-03-20
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
JavaScript
Complexity:
Is Regression:
No
Sprint Focus:

Description

Problem/Description

Scenario: I delete a record in recordlist, where also child elements are deleted. After agreeing the modal box, only the deleted record is removed (animation) from the table. Referenced records (of other tables) (in my example on the same pid) are correctly removed, but an editor have to reload the frame/module. Something can lead to confusion for an TYPO3 backend editor.

You can test this with EXT:powermail > v2: Create a form with pages and fields. Than delete the form in recordlist.

Suggestion

As I actually don't know how complex the deletion via ajax is: what about forcing a reload, when there is a case like this (referenced items or child items?!)

ToDo(s)

  • ?

Acceptance Criteria

  • ?

Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Story #82206: list module enhancements/bugfixesIn Progress2005-07-21

Actions
Actions #1

Updated by Josef Glatz over 7 years ago

  • Subject changed from RecordList: Delete record: referenced records aren't deleted to RecordList: Delete record: referenced records don't have a fancy delete fade out animation
Actions #2

Updated by Benni Mack over 7 years ago

  • Target version changed from 8 LTS to next-patchlevel
Actions #3

Updated by Oliver Hader over 7 years ago

  • Status changed from New to Accepted

The drawback is, that the AJAX invocation results in an implicit DOM update for the clicked element. Reloading the whole document would mitigate the desired impact of using an AJAX call at all.

Two possibilities:
  • model based client approach (MVVM style with data-binding)
  • modify AJAX response to return imperatives for a set of CSS selectors (e.g. "remove": [".t3js-entity[...]", ".t3js-entity[...]"])
Actions #4

Updated by Oliver Hader over 7 years ago

  • Assignee set to Oliver Hader
  • Tags set to JavaScript
Actions #5

Updated by Benni Mack over 5 years ago

  • Target version changed from next-patchlevel to Candidate for patchlevel
Actions #6

Updated by Riccardo De Contardi over 4 years ago

Just 2 cents: what about an alert on the right corner that warns the user that there are leftover records on the page, and can be dismissed with a "reload" button on the alert itself?

Actions #7

Updated by Daniel Windloff over 4 years ago

  • Related to Story #82206: list module enhancements/bugfixes added
Actions

Also available in: Atom PDF