Project

General

Profile

Actions

Bug #24641

closed

icon deleted page into workspace

Added by Ufficio della comunicazione elettronica almost 14 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Workspaces
Target version:
-
Start date:
2011-01-18
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When we work in a workspace draft and we try to delete a page, the icon of this page doesn’t change: it doesn’t appear the page with the icon of a removed page.

(issue imported from #M17117)


Files

bug-icon-deleted_page-workspace_draft.pdf (172 KB) bug-icon-deleted_page-workspace_draft.pdf Administrator Admin, 2011-01-18 15:29
17117.diff (458 Bytes) 17117.diff Administrator Admin, 2011-03-03 21:11
24641.diff (2.7 KB) 24641.diff Francois Suter, 2011-04-05 15:25

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #25215: Deleted overlay type is missing from overlay priorities listClosedFrancois Suter2011-03-01

Actions
Related to TYPO3 Core - Feature #25765: Add hook when choosing icon overlaysClosedFrancois Suter2011-04-05

Actions
Actions #1

Updated by Francois Suter over 13 years ago

I can confirm this issue. There's a double problem actually:

1) the "deleted" overlay is not considered in the priority list of overlays
2) the "deleted" versioning status is not considered to set the type of overlay that should be used.

I opened a separate bug report for 1.

Actions #2

Updated by Francois Suter over 13 years ago

The attached patch makes it work again, in conjunction with the patch from 0017815.

However this is not a clean solution as we are trying to separate all version-related stuff from the Core. Maybe it could be ok for 4.5, but for 4.6 we should find another solution, probably using a hook.

Actions #3

Updated by Francois Suter over 13 years ago

  • Project changed from TYPO3 Core to 624
  • Target version deleted (0)

To solve this bug the version extension could use the hook proposed in #25765, so that deleted records are displayed with the proper overlay.

Actions #4

Updated by Francois Suter over 13 years ago

The hook proposal mentioned previously has been submitted for current TYPO3 trunk (4.6). The attached patch uses the hook and overrides the "deleted" status when t3ver_state = 2.

I'll officially submit this patch when the corresponding changes will have been made in Core.

Actions #5

Updated by Susanne Moog over 13 years ago

  • Status changed from New to Accepted
Actions #6

Updated by Mr. Hudson over 13 years ago

Patch set 1 of change I2c07e3ceae70aa971e1086dd1f902a960b862d09 has been pushed to the review server.
It is available at http://review.typo3.org/1660

Actions #7

Updated by Francois Suter over 13 years ago

How to test:
  • move to a workspace
  • move Web > List view
  • delete some record (content element, news, whatever)
  • the record shows no sign of being deleted
  • apply patch for #25215 (https://review.typo3.org/#change,1459)
  • apply patch for this issue
  • reload the list view => the deleted record should have a trash can overlay on its icon

NOTE: the new hook in the Core has been proposed for inclusion in 4.5 too (and should be accepted given the discussion on hook policy for LTS), so this patch should be applied to 4.5 and trunk too.

Actions #8

Updated by Susanne Moog over 13 years ago

  • Status changed from Accepted to Under Review
Actions #9

Updated by Mr. Hudson over 13 years ago

Patch set 2 of change I2c07e3ceae70aa971e1086dd1f902a960b862d09 has been pushed to the review server.
It is available at http://review.typo3.org/1660

Actions #10

Updated by Mr. Hudson over 13 years ago

Patch set 3 of change I2c07e3ceae70aa971e1086dd1f902a960b862d09 has been pushed to the review server.
It is available at http://review.typo3.org/1660

Actions #11

Updated by Mr. Hudson over 13 years ago

Patch set 1 of change I63793da2450dbf5113218441713a5edb79e6f21d has been pushed to the review server.
It is available at http://review.typo3.org/1920

Actions #12

Updated by Mr. Hudson over 13 years ago

Patch set 2 of change I63793da2450dbf5113218441713a5edb79e6f21d has been pushed to the review server.
It is available at http://review.typo3.org/1920

Actions #13

Updated by Mr. Hudson over 13 years ago

Patch set 3 of change I63793da2450dbf5113218441713a5edb79e6f21d has been pushed to the review server.
It is available at http://review.typo3.org/1920

Actions #14

Updated by Mr. Hudson over 13 years ago

Patch set 4 of change I2c07e3ceae70aa971e1086dd1f902a960b862d09 has been pushed to the review server.
It is available at http://review.typo3.org/1660

Actions #15

Updated by Oliver Hader over 13 years ago

  • Status changed from Under Review to Resolved
  • Assignee set to Oliver Hader
  • Target version set to 4.5.3
  • % Done changed from 0 to 100

Submitted to
TYPO3 4.5.3
TYPO3 4.6-alpha1

Actions #16

Updated by Michael Stucki almost 11 years ago

  • Category set to Workspaces
Actions #17

Updated by Michael Stucki almost 11 years ago

  • Project changed from 624 to TYPO3 Core
  • Category changed from Workspaces to Workspaces
  • Target version deleted (4.5.3)
Actions #18

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF