Project

General

Profile

Actions

Bug #20509

closed

You cannot switch FE-group in simulation in Web/View

Added by Niels Fröhling over 15 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-05-26
Due date:
% Done:

0%

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

Description

If you are using the Web->View to access pages while having the admin-panel on, you are unable to switch the simulated FE-group.

In this case it's different to the other case where you could set the FE-group but nothing happens, here you are also unable to switch the value of the select-box.

If you go out to the page (leaving the Web->View, just visiting the page while being logged in) everything is okay.

The values of the Web->View select and the select on the page (outside) are not identical, and you can't remotely set the inner panel to values through the outer panel, nor does have repetitive trying in the inner panel any influence on the outer panel.

It sound like as if it's a session problem, maybe one of the special "we-are-in-web-view" checks has similar priority inversion problems as the other case.

(issue imported from #M11194)


Files

11194_sliced_rootline.diff (1.76 KB) 11194_sliced_rootline.diff Administrator Admin, 2009-07-02 22:00
11194_sliced_rootline_with_extendTo.diff (1.86 KB) 11194_sliced_rootline_with_extendTo.diff Administrator Admin, 2009-07-02 22:05
Actions #1

Updated by Niels Fröhling over 15 years ago

Ah, this behaviour has a condition:

- you have to have selected a page with FE-group protection
- if incl-subpages or not, both cases are equal

Actions #2

Updated by Niels Fröhling over 15 years ago

I found a hard relationship:

- The FE-group set in the inner-panel is locked on the FE-group that is defined in the access-properties of the page.

Actions #3

Updated by Niels Fröhling over 15 years ago

There is an additional even worst effect of the lock:

- you have a tree beginning with FE-group protection and you made it "incl. Subpages"
- you don't apply access-restriction to any of the childs
- you access one of the non-protected childs

What happens is that the admin-panel entirely turns off! Not only that you are still allowed to run an FE-simulation, no you are also allowed to edit those entries through the adminpanel, and you get stripped off of both possabilities.

Actions #4

Updated by Niels Fröhling over 15 years ago

It's even going so far as that this happens:

1: not protected
`-- 2: fe-protected (group A), no extendTo
`-- 3: fe-protected (group B which is subgroup of A), with extendTo
`-- 4: not protected
Do the following
  • login into BE
  • switch to Web->View
  • look at '2', fe-group in adminPanel switches to A
  • look at '4'

What happens is that 'Group A'-simulation stays in effect and will erase all elements which would just be visible to 'Group B'.

If you visit in order '2' -> '3' -> '4' you manually do the switch to 'Group B' and all is fine ('4' shows all it's content).

Solution: I guess recursive resolution of sub-group inclusion into gr_list will make this behave more stable, even if it doesn't solve most of the other issues.

Actions #5

Updated by Niels Fröhling over 15 years ago

On condition detected:

The adminPanel will disapear on '4' only if you have the "preview" panel collapsed. You can collapse it while on the page and it will vanish and (depending on the setup) will never appear again (for example if you have a db mountpoint on '4').

Actions #6

Updated by Niels Fröhling over 15 years ago

Additional bugs:

1: not protected
`-- 2: fe-protected (group A), no extendTo
`-- 3: not protected (but BE-user page)
Do the following
  • login into BE
  • switch to Web->View
  • look at '1', deactivate fe-group simulation
  • look at '3'

What happens is that '2' appears to act as if of type extentTo and we will be thrown down to '1' (which in my case has the login-form), instead of simply showing '3' (not applying any fe-access checking at all).

Actions #7

Updated by Niels Fröhling over 15 years ago

11194_sliced_rootline_with_extendTo.diff:

The patch will establish rootline-truncation only for 'extendTo'-cases. In other cases it will slice out the protected portions out of the rootline.

This solves the bug mentioned in comment #0029289 above.

Actions #8

Updated by Alexander Opitz over 11 years ago

  • Status changed from Accepted to Needs Feedback
  • Target version deleted (-1)

The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?

Actions #9

Updated by Alexander Opitz about 11 years ago

  • Status changed from Needs Feedback to Closed
  • Assignee deleted (Rupert Germann)
  • Is Regression set to No

No feedback for over 90 days.

Actions

Also available in: Atom PDF