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

events2:rebuild command doesn't create day records in CLI context #493

Open
einNicklas opened this issue Sep 18, 2024 · 2 comments
Open

Comments

@einNicklas
Copy link

After a TYPO3 upgrade from 11 to 12, the command events2:rebuild truncates the tx_events2_domain_model_day-table, but doesn't rebuild the day records. When I run the command as a scheduler task (be context), it works like a charm.
Running the ReGenerateDays-task btw leads to the same result: an empty tx_events2_domain_model_day-table.

  • TYPO3: 12.4.20
  • PHP: 8.2.23
  • jweiland/events2: 9.0.9
  • Composer: Yes

Output in CLI for ddev typo3 events2:rebuild -vvv:

Start re-building day records for each event record

I have truncated the day table

Process each event record
Process event UID: 000000001, PID: 01134, created: 0000 day records, RAM: 8750824
Process event UID: 000000002, PID: 01134, created: 0000 day records, RAM: 8755032
Process event UID: 000000003, PID: 01134, created: 0000 day records, RAM: 8755144
Process event UID: 000000004, PID: 01134, created: 0000 day records, RAM: 8756344
Process event UID: 000000005, PID: 01134, created: 0000 day records, RAM: 8767896
Process event UID: 000000006, PID: 01134, created: 0000 day records, RAM: 8764496
Process event UID: 000000007, PID: 01134, created: 0000 day records, RAM: 8779912
Process event UID: 000000008, PID: 01134, created: 0000 day records, RAM: 8763992
We have recreated the day records for 8 event records and 0 day records in total

events2 log entries:

Wed, 18 Sep 2024 08:20:30 +0200 [ERROR] request="76f003e1eed4e" component="JWeiland.Events2.Service.DayRelationService": Error while building day records for event: 1. File: /var/www/html/vendor/symfony/expression-language/Node/GetAttrNode.php. Line: 110. Error: Unable to call method "getQueryParams" of non-object "request". 
Wed, 18 Sep 2024 08:20:30 +0200 [ERROR] request="76f003e1eed4e" component="JWeiland.Events2.Service.DayRelationService": Error while building day records for event: 2. File: /var/www/html/vendor/symfony/expression-language/Node/GetAttrNode.php. Line: 110. Error: Unable to call method "getQueryParams" of non-object "request". 
Wed, 18 Sep 2024 08:20:30 +0200 [ERROR] request="76f003e1eed4e" component="JWeiland.Events2.Service.DayRelationService": Error while building day records for event: 3. File: /var/www/html/vendor/symfony/expression-language/Node/GetAttrNode.php. Line: 110. Error: Unable to call method "getQueryParams" of non-object "request". 
Wed, 18 Sep 2024 08:20:30 +0200 [ERROR] request="76f003e1eed4e" component="JWeiland.Events2.Service.DayRelationService": Error while building day records for event: 4. File: /var/www/html/vendor/symfony/expression-language/Node/GetAttrNode.php. Line: 110. Error: Unable to call method "getQueryParams" of non-object "request". 
Wed, 18 Sep 2024 08:20:30 +0200 [ERROR] request="76f003e1eed4e" component="JWeiland.Events2.Service.DayRelationService": Error while building day records for event: 5. File: /var/www/html/vendor/symfony/expression-language/Node/GetAttrNode.php. Line: 110. Error: Unable to call method "getQueryParams" of non-object "request". 
Wed, 18 Sep 2024 08:20:30 +0200 [ERROR] request="76f003e1eed4e" component="JWeiland.Events2.Service.DayRelationService": Error while building day records for event: 6. File: /var/www/html/vendor/symfony/expression-language/Node/GetAttrNode.php. Line: 110. Error: Unable to call method "getQueryParams" of non-object "request". 
Wed, 18 Sep 2024 08:20:30 +0200 [ERROR] request="76f003e1eed4e" component="JWeiland.Events2.Service.DayRelationService": Error while building day records for event: 7. File: /var/www/html/vendor/symfony/expression-language/Node/GetAttrNode.php. Line: 110. Error: Unable to call method "getQueryParams" of non-object "request". 
Wed, 18 Sep 2024 08:20:30 +0200 [ERROR] request="76f003e1eed4e" component="JWeiland.Events2.Service.DayRelationService": Error while building day records for event: 8. File: /var/www/html/vendor/symfony/expression-language/Node/GetAttrNode.php. Line: 110. Error: Unable to call method "getQueryParams" of non-object "request".
@einNicklas
Copy link
Author

Hi @jweiland,

I hope you're doing well. I wanted to follow up on the issue I reported three weeks ago, as I have not yet received a response.

We are currently using this TYPO3 extension in a production environment for one of our larger clients. Given the severity of the issue, we would greatly appreciate any updates or guidance on resolving it as soon as possible.

Please let us know if there’s any additional information we can provide to help expedite the process.

Looking forward to your response.

Best regards,
Nicklas

@mixedpixels
Copy link

mixedpixels commented Oct 8, 2024 via email

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

2 participants