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

[BUG] Typoscript := addToList() is broken in ext solrfal #4171

Open
marc-munos opened this issue Sep 27, 2024 · 0 comments
Open

[BUG] Typoscript := addToList() is broken in ext solrfal #4171

marc-munos opened this issue Sep 27, 2024 · 0 comments
Assignees

Comments

@marc-munos
Copy link

Describe the bug
In solrfal, adding an item to plugin.tx_solr.index.enableFileIndexing.storageContext.1.folders with addToList() TS function has no effect.

To Reproduce
Steps to reproduce the behavior:

  1. install solrfal and add the basic typoscript template to the root page of the site.
  2. truncate the tx_solr_indexqueue_file table
  3. create a folder foo in the FAL, (let say storageUid = 1)
  4. add the following TS lines at the root page of the site :
plugin.tx_solr.index.enableFileIndexing = 1
plugin.tx_solr.index.enableFileIndexing.storageContext.1.folders := addToList(/foo)
  1. add a file foo.txt in the /foo fal folder
  2. error : have a look to the tx_solr_indexqueue_file table : the file was not added for indexation

Expected behavior
The file should have been added in tx_solr_indexqueue_file, as if the TS line had been :

plugin.tx_solr.index.enableFileIndexing = 1
plugin.tx_solr.index.enableFileIndexing.storageContext.1.folders = /foo

Screenshots
NA

Used versions (please complete the following information):

  • TYPO3 Version: 12.4.20
  • EXT:solr Version: 12.0.5
  • EXT:solrfal Version: 12.0.2
  • PHP Version: 8.2.0
  • MySQL Version: NA
  • Used Apache Solr : NA
  • Browser : NA

Additional context
It works in typo3 v11.5.30, [email protected], [email protected]

@marc-munos marc-munos changed the title [BUG] Typoscript := addToList() not considered [BUG] Typoscript := addToList() is broken in ext solrfal Sep 27, 2024
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