sf_event_mgt icon indicating copy to clipboard operation
sf_event_mgt copied to clipboard

Set an event to "enable_registration=1" and set it back doesn't work correctly in frontend

Open modellbahn-anlage opened this issue 1 year ago • 1 comments

Extension version

7.6.0

Short problem description

If I set an event to "enable_registration=1" and then set it back to "enable_registration=0" after saving, the option remains set. “tx_sfeventmgt_domain_model_event SET max_participants=0” should also be set in the database.

Server configuration

12.4.22

PHP version: 8.2

modellbahn-anlage avatar Oct 25 '24 14:10 modellbahn-anlage

I'm sorry, but I really do not understand what you mean. What I understood: You have an event, enable registration and set max participants to e.g. 10. Then you disable registration again and expect max participants automatically to be set to 0.

In general, there is no "magic" happening when saving events in backend. If you create an event and set max participants to a value (either 0 or a value > 0), then this value stays in the database, no matter if you disable registration again. This is regular TYPO3 backend behavior and I will not add code to the extension to change this.

derhansen avatar Oct 25 '24 15:10 derhansen

Closing issue, since no feedback.

derhansen avatar Nov 30 '24 09:11 derhansen