Bug #80154

Unserialized Session Data Variable is changed and protected since #70316

Added by Timo Kiefer over 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Frontend
Target version:
Start date:
2017-03-06
Due date:
% Done:

100%

TYPO3 Version:
8
PHP Version:
7.1
Tags:
Complexity:
easy
Is Regression:
Yes
Sprint Focus:

Description

Hi,

the following TypoScript does not work anymore since #70316:

page.10 = TEXT
page.10.data = TSFE:fe_user|sesData|myext|mydata

Thanks,
Timo


Related issues

Related to TYPO3 Core - Feature #70316: Introduce Session Framework Closed 2015-10-02
Related to TYPO3 Core - Bug #83506: TS Condition on fe_user session data is not possible anymore Closed 2018-01-08

Associated revisions

Revision bedc2580 (diff)
Added by Markus Klein about 3 years ago

[FEATURE] Add new possibility to retrieve session data in TS

Since the session API has been adjusted it is no longer possible
to access FE session data via getData access in TS.
TSFE:fe_user|sesData|myext|mydata

Instead a new an cleaner approach is now available:
session:myext|mydata

Releases: master
Resolves: #80154
Change-Id: I5ea3cf4f20b03176332f28a21b01d1976868a9d4
Reviewed-on: https://review.typo3.org/52320
Reviewed-by: Nicole Cordes <>
Tested-by: Nicole Cordes <>
Tested-by: TYPO3com <>
Reviewed-by: Markus Klein <>
Reviewed-by: Benni Mack <>
Tested-by: Benni Mack <>

History

#1 Updated by Benni Mack over 3 years ago

  • Status changed from New to Accepted
  • Assignee set to Markus Klein
  • Priority changed from Should have to Must have
  • Target version set to 8 LTS
  • Is Regression changed from No to Yes

Hey,

good report. thanks.

I suggest that we now add a new key called "session" (or "Session"), to do something like
10 = TEXT
10.data = session:myext|mydata

Should also be applied to conditions!

#2 Updated by Markus Klein over 3 years ago

  • Sprint Focus set to Stabilization Sprint

#3 Updated by Christian Kuhn about 3 years ago

  • Target version deleted (8 LTS)
  • Sprint Focus deleted (Stabilization Sprint)

#4 Updated by Gerrit Code Review about 3 years ago

  • Status changed from Accepted 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/52320

#5 Updated by Markus Klein about 3 years ago

  • Target version set to 8 LTS
  • Complexity set to easy

#6 Updated by Gerrit Code Review about 3 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/52320

#7 Updated by Markus Klein about 3 years ago

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

#8 Updated by Riccardo De Contardi over 2 years ago

  • Status changed from Resolved to Closed

#9 Updated by Wolfgang Klinger over 2 years ago

  • Related to Bug #83506: TS Condition on fe_user session data is not possible anymore added

Also available in: Atom PDF