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

Alternative Times are not shown in translated record #371

Open
Hobokens opened this issue Jul 21, 2022 · 1 comment
Open

Alternative Times are not shown in translated record #371

Hobokens opened this issue Jul 21, 2022 · 1 comment
Assignees
Labels

Comments

@Hobokens
Copy link

Hobokens commented Jul 21, 2022

Hi,

I have a course that goes over 4 weeks each Monday through Friday. I configured it as recurring event,
In the German view all dates are displayed in the detail view. In the English view, however, they are not. The variable {day.event.alternativeTimesIncludingRemovedGroupedAndSorted} is empty.

TYPO3 10.4.30, Events2 8.0.1

languages:
  -
    title: Deutsch
    enabled: true
    languageId: 0
    base: /
    typo3Language: de
    locale: de_DE.UTF-8
    iso-639-1: de
    navigationTitle: Deutsch
    hreflang: de-DE
    direction: ltr
    flag: de
    websiteTitle: ''
    solr_core_read: core_de
  -
    title: Englisch
    enabled: true
    languageId: 1
    base: /en/
    typo3Language: default
    locale: en_US.UTF-8
    iso-639-1: en
    navigationTitle: English
    hreflang: en-US
    direction: ltr
    fallbackType: strict
    fallbacks: ''
    flag: en-us-gb

Regards
Hobokens

@Hobokens Hobokens reopened this Aug 11, 2022
@froemken froemken self-assigned this Sep 28, 2022
@froemken
Copy link
Contributor

Hi @Hobokens

thank you for that bug report.

The method getDays() in Event model starts a query to find all day records by the event UID of the current translated event. That's not possible, as day records will never be generated for translated events. They should use the day records of the default event.
Currently, it's hard to tell Extbase to use another UID to select the day records.

Stefan

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

No branches or pull requests

2 participants