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

Updating an event with incorrect flag still shows 'Updated event.' #20

Open
jespirit opened this issue Oct 25, 2018 · 2 comments
Open
Labels
bug Something isn't working

Comments

@jespirit
Copy link
Contributor

SchedulerBot Version: v2.1.4 a055321

I was testing the other changes I made and came across this.

+event list 1

first-event

I want to update the description. Notice: I don't enter any event name or date/time information.
+event update 1 --description new description here

update-event-bug

I just wanted to update the description, mispelled flag (should be --desc), and it still shows that the event was updated 'Updated event.'

@pyrox18 pyrox18 added the bug Something isn't working label Oct 27, 2018
@pyrox18
Copy link
Owner

pyrox18 commented Oct 27, 2018

Going to need to test this further - in the event parser, I'm doing an equality check (i.e. key == "desc"), so I'm not sure what's going on here.

@jespirit
Copy link
Contributor Author

Clarification: The description of the event hasn't been modified. It's still "testing first event". It's just that the bot displays the Update Event information box stating that the event was updated even though it really wasn't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants