-
-
Notifications
You must be signed in to change notification settings - Fork 253
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX] TSFE can not be initialized for pages with fe_group="-2"
The TSFE can not be initialized in record-monitoring(BE editiing) context for pages, whichs fe_group is set to -2(show if fe_user is logged in). This leads to following behavior: * After editing the [sub]pages in BE, the page is removed from index and never indexed again. * By reinitialization of pages index queue the page is indexed as expected with expected groups. Fixes: #3351 Relates: #3347 Ports: #3352
- Loading branch information
Showing
2 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
...ndEnvironment/Fixtures/can_initialize_tsfe_for_page_with_different_fe_groups_settings.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<dataset> | ||
<pages> | ||
<uid>2</uid> | ||
<is_siteroot>0</is_siteroot> | ||
<doktype>1</doktype> | ||
<pid>1</pid> | ||
<fe_group>1</fe_group> | ||
</pages> | ||
<pages> | ||
<uid>3</uid> | ||
<is_siteroot>0</is_siteroot> | ||
<doktype>1</doktype> | ||
<pid>1</pid> | ||
<fe_group>-2</fe_group> | ||
</pages> | ||
|
||
<fe_groups> | ||
<uid>1</uid> | ||
<pid>1</pid> | ||
<title>dummy group</title> | ||
</fe_groups> | ||
</dataset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters