Project

General

Profile

Actions

Bug #84089

closed

Pagetree HTML entity encoding problems

Added by Josef Glatz about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Pagetree
Target version:
-
Start date:
2018-02-28
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
nightmare
Is Regression:
Sprint Focus:

Description

Problem/Description

  • create some Default page named [fooo]
  • create and login with another backend user (I created the user after adding the affected page)
  • Until you edit the affected page with the new backend user (double click) the page is shown wrongly in the pagetree

a Video is better than any photo and some words


Files

Actions #1

Updated by Josef Glatz about 6 years ago

  • Complexity set to nightmare

I can't reproduce this reported race condition in an normal amount of time actually

for the records: After which tasks has the bug appeared?

  1. with Admin #1 create a page (in Chrome 64.0.3282.186 macOS)
  2. with Admin #1: create a second admin user (in same browser session)
  3. open a incognito browser session (same browser)
  4. login with Admin #2 and open page module
  5. voilà

¯\_(ツ)_/¯ we all love race conditions

Actions #2

Updated by Andreas Kienast about 6 years ago

  • Status changed from New to Rejected

The issue is not reproducible anymore on current master. If the issue pops up again, please feel free to re-open the ticket or ping me.

Actions #3

Updated by Tymoteusz Motylewski about 6 years ago

  • Status changed from Rejected to New

I've managed to reproduce it.

Data coming from TYPO3 is broken, the "prefix" field contains sth like:

"<span class="typo3-pagetree-status"><span class="t3js-icon icon icon-size-small icon-state-default icon-warning-in-use" data-identifier="warning-in-use">↵    <span class="icon-markup">↵<img src="/typo3/sysext/backend/Resources/Public/Icons/warning-in-use.png" width="16" height="16" />↵    </span>↵    ↵</span></span>" 

Seems the issue occures when there is another user editing the page in the same time.
As the "tip" field contains

"id=5 - The BE-User 'xxxx' began to edit content on this page 6 min ago." 

Actions #4

Updated by Gerrit Code Review about 6 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56033

Actions #5

Updated by Gerrit Code Review about 6 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56033

Actions #6

Updated by Tymoteusz Motylewski about 6 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #7

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF