Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EPIC] Make EXT:solr TYPO3 13 LTS compatible #3995

Open
26 of 45 tasks
dkd-kaehm opened this issue Apr 5, 2024 · 0 comments
Open
26 of 45 tasks

[EPIC] Make EXT:solr TYPO3 13 LTS compatible #3995

dkd-kaehm opened this issue Apr 5, 2024 · 0 comments
Assignees

Comments

@dkd-kaehm
Copy link
Collaborator

dkd-kaehm commented Apr 5, 2024

Infos and notes:

This task contains all the sub task to get EXT:solr woking within TYPO3 13 LTS:
Note: The compatibility to TYPO3 12 LTS MUST NOT be assured.

Current state of TYPO3 13 LTS support

TYPO3 13 not yet supported.

Blocker for Community Sprint 2024.05.16 + 17

Must have

Nice to have

Deprecations

  • [TASK] Remove deprecated queue.[indexConfig].table TypoScript setting

Final 13.0.0

Scheduled for same or next week of TYPO3 13 LTS stable release.

  • ...

Current State:

2024.06.10

  • Backend and indexing of all pages seemst to work properly.
  • Frontend ans Search seems to work properly
  • PhpStan issues fixed
  • Unit tests still fail
  • Integration tests still fail

2024.07.04

  • Unit tests fixed
  • Some integration tests still fail

[2024.09.17]

The translated records and pages can be indexed now.

Known issues

  • Some integration tests still fail
  • Mount-Pages and plugin.tx_solr.index.queue.[indexConfig].additionalPageIds do not work
  • Access restricted pages/records do not work
  • BE-Modules sometimes produce the BE-Links with strange id parameter, which leads to exceptions.
    typo3/module/searchbackend/index-administration?id=0_1_500_501
    Workaround: Chose desired page in tree again to get int UID again in address-bar
    Most probably new issue and analyse is required.

[2024.09.30]

The protected pages can be indexed now as well.
The BE-Modules work as expected again.

Known issues

  • Mount-Pages and plugin.tx_solr.index.queue.[indexConfig].additionalPageIds do not work
@dkd-kaehm dkd-kaehm pinned this issue Apr 5, 2024
@dkd-kaehm dkd-kaehm changed the title [EPIC] Make EXT:solr TYPO3 12 LTS compatible [EPIC] Make EXT:solr TYPO3 13 LTS compatible Apr 5, 2024
dkd-kaehm added a commit to dkd-kaehm/ext-solr that referenced this issue May 13, 2024
dkd-kaehm added a commit to dkd-kaehm/ext-solr that referenced this issue May 13, 2024
dkd-kaehm added a commit to dkd-kaehm/ext-solr that referenced this issue May 13, 2024
dkd-kaehm added a commit to dkd-kaehm/ext-solr that referenced this issue May 13, 2024
dkd-kaehm added a commit that referenced this issue May 13, 2024
dkd-kaehm added a commit that referenced this issue May 13, 2024
dkd-kaehm added a commit to dkd-kaehm/ext-solr that referenced this issue May 13, 2024
dkd-kaehm added a commit that referenced this issue May 13, 2024
dkd-kaehm added a commit that referenced this issue May 16, 2024
dkd-kaehm added a commit that referenced this issue May 16, 2024
dkd-kaehm added a commit that referenced this issue May 16, 2024
dkd-kaehm added a commit that referenced this issue May 16, 2024
dkd-kaehm added a commit that referenced this issue May 16, 2024
dkd-kaehm added a commit that referenced this issue May 16, 2024
dkd-kaehm added a commit that referenced this issue May 16, 2024
dkd-kaehm added a commit that referenced this issue May 16, 2024
dkd-kaehm added a commit that referenced this issue May 16, 2024
dkd-kaehm added a commit that referenced this issue May 17, 2024
dkd-kaehm added a commit to dkd-kaehm/ext-solr that referenced this issue Sep 25, 2024
…Modules

This change fixes the strange behavior by switching BE-modules and/or page in page-tree.
It depends on following TYPO3 core issues:
* https://forge.typo3.org/issues/103784
* https://forge.typo3.org/issues/104457


Fixes: TYPO3-Solr#4165
Relates: TYPO3-Solr#3995
dkd-kaehm added a commit that referenced this issue Sep 26, 2024
…Modules

This change fixes the strange behavior by switching BE-modules and/or page in page-tree.
It depends on following TYPO3 core issues:
* https://forge.typo3.org/issues/103784
* https://forge.typo3.org/issues/104457


Fixes: #4165
Relates: #3995
dkd-kaehm added a commit to dkd-kaehm/ext-solr that referenced this issue Sep 30, 2024
This change fixes the access restrictions stack within TYPO3 13.
There were multiple troubles in classes and in integration tests.
The page indexer stack on live system runs in multiple isolated processes:

1. CLI
2. first FE request to get FE-groups
3. multiple FE requests to get real content from page for desired FE-groups combination

unlike on integration test running the page indexer steps allways on single process. 
This requires to unset the produced state on each step of indexing process.
The runtime cache was interfering between the steps 
and did things that had nothing to do withhin the own step.

---

The main problem within access restriction stack on page indexing 
was the registration of Event-Listeners methods within `UserGroupDetector` with `#[AsEventListener]` on EXT:solr. 
Due of current troubles with circular dependencies 
the auto-wiring and auto-configuration was disabled in Servvices.yaml globally. 
It requires to enable this features manually for classes, which was done for `UserGroupDetector` class.

Relates: TYPO3-Solr#3995
Fixes: TYPO3-Solr#4146
dkd-kaehm added a commit to dkd-kaehm/ext-solr that referenced this issue Sep 30, 2024
This change fixes the access restrictions stack within TYPO3 13.
There were multiple troubles in classes and in integration tests.
The page indexer stack on live system runs in multiple isolated processes:

1. CLI
2. first FE request to get FE-groups
3. multiple FE requests to get real content from page for desired FE-groups combination

unlike on integration test running the page indexer steps allways on single process. 
This requires to unset the produced state on each step of indexing process.
The runtime cache was interfering between the steps 
and did things that had nothing to do withhin the own step.

---

The main problem within access restriction stack on page indexing 
was the registration of Event-Listeners methods within `UserGroupDetector` with `#[AsEventListener]` on EXT:solr. 
Due of current troubles with circular dependencies 
the auto-wiring and auto-configuration was disabled in Servvices.yaml globally. 
It requires to enable this features manually for classes, which was done for `UserGroupDetector` class.

Relates: TYPO3-Solr#3995
Fixes: TYPO3-Solr#4161
dkd-kaehm added a commit to dkd-kaehm/ext-solr that referenced this issue Sep 30, 2024
…rTest

Removed comment text from `#[Group('frontend')]` attribute in 

Relates: TYPO3-Solr#3995
dkd-kaehm added a commit that referenced this issue Sep 30, 2024
This change fixes the access restrictions stack within TYPO3 13.
There were multiple troubles in classes and in integration tests.
The page indexer stack on live system runs in multiple isolated processes:

1. CLI
2. first FE request to get FE-groups
3. multiple FE requests to get real content from page for desired FE-groups combination

unlike on integration test running the page indexer steps allways on single process. 
This requires to unset the produced state on each step of indexing process.
The runtime cache was interfering between the steps 
and did things that had nothing to do withhin the own step.

---

The main problem within access restriction stack on page indexing 
was the registration of Event-Listeners methods within `UserGroupDetector` with `#[AsEventListener]` on EXT:solr. 
Due of current troubles with circular dependencies 
the auto-wiring and auto-configuration was disabled in Servvices.yaml globally. 
It requires to enable this features manually for classes, which was done for `UserGroupDetector` class.

Relates: #3995
Fixes: #4161
dkd-kaehm added a commit that referenced this issue Sep 30, 2024
…rTest

Removed comment text from `#[Group('frontend')]` attribute in 

Relates: #3995
dkd-kaehm added a commit to dkd-kaehm/ext-solr that referenced this issue Oct 7, 2024
dkd-kaehm added a commit to dkd-kaehm/ext-solr that referenced this issue Oct 7, 2024
* solarium/solarium to 6.3.5
* phpunit/phpunit to 11.4+
* typo3/coding-standards to [dev-main#0d5c3c58aa773ca28eab93db6f605f8209098bd9](TYPO3/coding-standards@0d5c3c5)
* typo3/testing-framework to [dev-main#47bf0daab24b4210221f46a1fde59b9c3e245e39](TYPO3/testing-framework@47bf0da)

Relates: TYPO3-Solr#3995
dkd-kaehm added a commit to dkd-kaehm/ext-solr that referenced this issue Oct 7, 2024
dkd-kaehm added a commit to TYPO3-Solr/solr-ddev-site that referenced this issue Oct 7, 2024
dkd-kaehm added a commit to TYPO3-Solr/solr-ddev-site that referenced this issue Oct 7, 2024
dkd-kaehm added a commit to dkd-kaehm/ext-solr that referenced this issue Oct 7, 2024
* solarium/solarium to 6.3.5
* phpunit/phpunit to 11.4+
* typo3/coding-standards to v0.8.0
* typo3/testing-framework to [dev-main#47bf0daab24b4210221f46a1fde59b9c3e245e39](TYPO3/testing-framework@47bf0da)

Relates: TYPO3-Solr#3995
dkd-kaehm added a commit to dkd-kaehm/ext-solr that referenced this issue Oct 7, 2024
dkd-kaehm added a commit that referenced this issue Oct 7, 2024
* solarium/solarium to 6.3.5
* phpunit/phpunit to 11.4+
* typo3/coding-standards to v0.8.0
* typo3/testing-framework to [dev-main#47bf0daab24b4210221f46a1fde59b9c3e245e39](TYPO3/testing-framework@47bf0da)

Relates: #3995
dkd-kaehm added a commit to dkd-kaehm/ext-solr that referenced this issue Oct 7, 2024
Set fixed env.BRANCH_NAME to main.

Relates: TYPO3-Solr#3995
dkd-kaehm added a commit that referenced this issue Oct 7, 2024
Set fixed env.BRANCH_NAME to main.

Relates: #3995
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants