question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

EventDate value is always changing, which has bad side effects in email system

See original GitHub issue

Looking forward for reporting a security issue: This issue is similar to https://github.com/freeCodeCamp/chapter/issues/1970, but with slight annoyance. When someone edit /dashboard/events/{event.id}/edit, the field related to Date is always included when eventInfo is changed, this affect email system because the logic that require the Date to be changed is always true.

This lead to a bug while testing https://github.com/freeCodeCamp/chapter/pull/1966/commits/5f3c4c1ce247fe83952a1d5a00a1d8ca36d5106a, in which I had tried to change Venue multiple times, but Date was always included without Date value changing

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
Sboonnycommented, Dec 1, 2022

When you visit the edit event page in the dashboard, you can see editable fields, two of them are related to date here is a picture.

image

The form has a save button that is disabled without changing the values, here it is:

image

If you don’t do anything, the button stay disabled. Here is a picture:

image

But when you navigate to the date fields and focusVisible them, the save button activate, which it shouldn’t because the user didn’t change the data, yet.

image


What required is to keep the button disabled unless the values are different from the original value.

1reaction
ojeytonwilliamscommented, Dec 1, 2022

Hey @Sboonny, since this is open for contributions, could you spell out the requirements more explicitly?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Only a subset of your Exchange mailbox items is synchronized ...
Discusses that only a subset of your Exchange mailbox items is synchronized in Outlook if you use Cached Exchange Mode.
Read more >
Email Open Rates: A Scientific, Step by Step Guide for 2023
With our unique case study, we show you how we earn an average 40% email open rate for every single email we send...
Read more >
Purchase Policy - Ticketmaster Fan Support
Per state and local laws, some resale tickets are subject to tax, which we either display separately or include in the total service...
Read more >
Validation failed for one or more entities while saving changes ...
I want to save my Edit to Database and I am using Entity FrameWork Code-First in ASP.NET MVC 3 / C# but I...
Read more >
SARS-CoV-2 is associated with changes in brain ... - Nature
Importantly, these imaging and cognitive longitudinal effects were still ... SARS-CoV-2 positive or negative status was identified using UK ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found