Project

General

Profile

Actions

Bug #23057

closed

Switching workplaces causes nesting of BE

Added by Christian Hennecke over 14 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-06-30
Due date:
% Done:

0%

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

Description

Switching to another workspace causes the BE interface to be reloaded in the content area.

Steps to reproduce:

1. Log in to the backend.
2. Switch to another workspace

Expected behavior:

The black icon bar is always displayed at the top, the module list on the left, and the page tree and content editing area to the right.

Actual behavior:

After switching, the black icon bar remains at the top and the module list remains on the left, but a complete new BE interface is loaded where only the page tree and content editing area should be.

This started with TYPO 4.4.
(issue imported from #M14946)


Files

14946_v1.diff (480 Bytes) 14946_v1.diff Administrator Admin, 2010-07-26 21:07
Actions #1

Updated by Andreas Kießling over 14 years ago

Are you using templavoila? Activate classic page module and try again. This seems to be caused by hardcoded "top.goToModule('web_layout');" in the workspace js.

Additional note: this happend for me only, if the current loaded module was not a 'web_xyz' module, e.g. user setup.

Actions #2

Updated by Andreas Kießling over 14 years ago

Quick fix: instead of forced web_layout, this switches to the first available module. So templavoila, regular page, list, file, ... whatever is available.

--- typo3/js/workspacemenu.orig.js 2010-07-21 11:27:27.000000000 0200
++ typo3/js/workspacemenu.js 2010-07-21 12:11:27.000000000 0200
@ -168,7 +168,7 @
// the boolean "true" makes the page reload from the server
$('content').contentWindow.location.reload(true);
} else {
- top.goToModule('web_layout');
top.goToModule($$('#typo3-menu li.menuSection:first-child > ul > li:first-child')[0].readAttribute('id').substring(8));
}

// reload the module menu
Actions #3

Updated by Christian Hennecke over 14 years ago

I can confirm that it does not happen with web_xyz modules.

Actions #4

Updated by Steffen Gebert over 14 years ago

Can confirm this issue with TV.

I will ask Stefan Galinski, if he has a cleaner solution. Does this also exist in 4.3?

Actions #5

Updated by Stefan Galinski over 14 years ago

The cleanest solution would be:

top.goToModule(TYPO3.configuration.pageModule);

The patch is currently on the way to the mailing list. Happy voting!

Actions #6

Updated by Andreas Kießling over 14 years ago

What if the user has no page module? A user could be limited to list or any other workspace-aware module.

Actions #7

Updated by Stefan Galinski over 14 years ago

You are right! That could really be a problem, but it's not a solution to redirect to the first available web module. Maybe we should define a fallback order or anyhting like this?

Actions #8

Updated by Andreas Kießling over 14 years ago

Probably: page, list, workspace? Other modules are most likely not available for a regular user (except News-Admin maybe). The start module for a user could be limited to live workspace, but at least that would be adjustable?

Actions #9

Updated by Steffen Kamper over 14 years ago

Committed to svn
4_4 rev 8296
trunk rev 8297

Actions #10

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF