Project

General

Profile

Actions

Bug #29208

closed

Versioned elements aren't listed if "limit to languages" is set.

Added by Jan Wulff over 12 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
Workspaces
Target version:
-
Start date:
2011-08-24
Due date:
% Done:

100%

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

Description

As soon as I use "limit to languages" on an editor, this editor won't get anything listed in the workflow module. Of course I've checked, that there have been elements edited in the language, the editor is limited to. Could somebody try and confirm this problem?


Files


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #23643: Workspace Manager doesn't respect "Limit to languages" user settingClosed2010-09-29

Actions
Actions #1

Updated by Michael Elzer over 12 years ago

Jan Wulff wrote:

As soon as I use "limit to languages" on an editor, this editor won't get anything listed in the workflow module. Of course I've checked, that there have been elements edited in the language, the editor is limited to. Could somebody try and confirm this problem?

I can confirm this problem. I've made a report in the old bugtracker by mistake (ID 001828) describing nearly the same problem. But i did not realize that "limit to language" forces into this problem (course all our translators using the workspaces are limited to their languange in our environment). I've updated to 4.5.6, disabled "limit to language" and all items are listed as before. 4.5.3 works as expected - all newer versions not.

Actions #2

Updated by Robert Heel over 12 years ago

I can confirm this issue, too. This happens if the editor hasn't access to the default language.

Actions #3

Updated by Robert Heel over 12 years ago

The record list contains no language field - I've added '*' to the field list (Patch attached), but would also be possible to add only the table's sys_language_uid field.

Actions #4

Updated by Robert Heel over 12 years ago

pages_language_overlay language detection also didn't work - needed some more lines of code.

Updated patch attached.

Actions #5

Updated by Andreas Kiessling over 12 years ago

I also confirm the bug.
There will still be a problem with tables that have no language field. If such a record is in the workspace, the check against language 0 will be done.

I am somehow missing such a function to check the access for a record+language in class t3lib_userAuthGroup.
There is a checkFullLanguageAccess, that checks for access to ALL existing localizations, and the used checkLanguageAccess, that checks the passed value against the allowed_languages

Actions #6

Updated by Jozef Spisiak over 12 years ago

This should fix the issues mentioned in Andreas post. For me it works, but can anyone please test it?

The diff was done on latest version from repository, so you probably need to do the changes for 4.5 manually.

Actions #7

Updated by Christian Buelter over 12 years ago

+1 testing

I had the same Problem, patch 29208_ws_no_default_language.diff works for me.

Tested in 4.5.6

Actions #8

Updated by Mr. Jenkins over 12 years ago

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

Actions #9

Updated by Stefan Neufeind over 12 years ago

  • Status changed from New to Under Review

Patch v3 submitted for review.

Actions #10

Updated by Mr. Jenkins over 12 years ago

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

Actions #11

Updated by Mr. Jenkins over 12 years ago

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

Actions #12

Updated by Mr. Jenkins over 12 years ago

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

Actions #13

Updated by Stefan Neufeind over 12 years ago

  • Status changed from Under Review to Resolved
  • Assignee set to Stefan Neufeind
Actions #14

Updated by Michael Stucki over 10 years ago

  • Category set to Workspaces
Actions #15

Updated by Michael Stucki over 10 years ago

  • Project changed from 624 to TYPO3 Core
  • Category changed from Workspaces to Workspaces
Actions #16

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF