Skip to content

Fixing Bug 345#346

Open
XeniaHerr wants to merge 1 commit into
FachschaftMathPhysInfo:mainfrom
XeniaHerr:fix_bug_345
Open

Fixing Bug 345#346
XeniaHerr wants to merge 1 commit into
FachschaftMathPhysInfo:mainfrom
XeniaHerr:fix_bug_345

Conversation

@XeniaHerr

Copy link
Copy Markdown

The handleEventCreate Method is providing a default event to populate, but the decision wether to create or update a event is made by checking if event is null, which is never the case when calling from handleEventCreate. I've changed the checks to use event.title, because title is not pouplated when createing and you need a title to save.

Also the way the luxon dateTime was used is not working, the methods are not inplace, fixed that also.

If you have Question we can brawl in person,

The handleEventCreate Method is providing a default event to populate,
but the decision wether to create or update a event is made by
checking if event is null, which is never the case when calling from
handleEventCreate. I've changed the checks to use event.title, because
title is not pouplated when createing and you need a title to save.

Also the way the luxon dateTime was used is not working, the methods
are not inplace, fixed that also.
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

Successfully merging this pull request may close these issues.

1 participant