Skip to content

T&A 44764: Fixes end datetime of availability period in test settings being rese…#9309

Merged
kergomard merged 2 commits into
ILIAS-eLearning:release_9from
matheuszych:ta/44764
Apr 7, 2025
Merged

T&A 44764: Fixes end datetime of availability period in test settings being rese…#9309
kergomard merged 2 commits into
ILIAS-eLearning:release_9from
matheuszych:ta/44764

Conversation

@matheuszych

Copy link
Copy Markdown
Contributor

Mantis: 44764

The activation_ending_time setting in a test was always being overwritten with the date 01.01.1970 (timestamp 0). The error seems to be caused by never applying the data from the form.

@matheuszych matheuszych changed the title Fixes end datetime of availability period in test settings being rese… T&A 44764: Fixes end datetime of availability period in test settings being rese… Apr 4, 2025
@matheuszych

Copy link
Copy Markdown
Contributor Author

Already reviewed by @thojou.

@thojou thojou added bugfix php Pull requests that update Php code labels Apr 4, 2025
@kergomard

Copy link
Copy Markdown
Contributor

Hi @matheuszych

Thank you very much for the PR! Please remove the array deconstruction here, and just use the corresponding keys as it was before. Straight forward is better: With your change I need twice as much time to read and understand the same thing.

Thank you very much and best,
@kergomard

@matheuszych

Copy link
Copy Markdown
Contributor Author

Hello @kergomard
Thank you for your review. I removed the array deconstruct.

Best regards
@matheuszych

@kergomard
kergomard merged commit 47567f9 into ILIAS-eLearning:release_9 Apr 7, 2025
kergomard pushed a commit that referenced this pull request Apr 7, 2025
… being rese… (#9309)

* Fixes end datetime of availability period in test settings being reset to 01.01.1970 upon saving

* Adds review changes
kergomard pushed a commit that referenced this pull request Apr 7, 2025
… being rese… (#9309)

* Fixes end datetime of availability period in test settings being reset to 01.01.1970 upon saving

* Adds review changes
@kergomard

Copy link
Copy Markdown
Contributor

Thank you very much @matheuszych ! Merged and picked to ILIAS 10 and trunk.

msalterhslu pushed a commit to HochschuleLuzern/ILIAS-HSLU that referenced this pull request Jun 11, 2025
… being rese… (ILIAS-eLearning#9309)

* Fixes end datetime of availability period in test settings being reset to 01.01.1970 upon saving

* Adds review changes
olivabigyo pushed a commit to olivabigyo/ILIAS that referenced this pull request Jan 27, 2026
… being rese… (ILIAS-eLearning#9309)

* Fixes end datetime of availability period in test settings being reset to 01.01.1970 upon saving

* Adds review changes
olivabigyo pushed a commit to HochschuleLuzern/ILIAS-HSLU that referenced this pull request Apr 5, 2026
… being rese… (ILIAS-eLearning#9309)

* Fixes end datetime of availability period in test settings being reset to 01.01.1970 upon saving

* Adds review changes

Jira: IL-537
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants