joomla-projects / soc21_website-cronjob

GNU General Public License v2.0
5 stars 3 forks source link

'Job Parameter' Field disappears on invalid input #11

Closed scout507 closed 3 years ago

scout507 commented 3 years ago

Steps to reproduce the issue

Tested on this PR: https://github.com/joomla/joomla-cms/pull/35143

  1. Go to System -> Cronjobs
  2. Add a new Cronjob
  3. Select any job type that has 'Job Parameters'
  4. Fill out all nessecary fields
  5. Fill out at least one field with an invalid input (an already existing name, a character for time interval etc.)
  6. Press Save

Expected result

You should get a warning about your invalid input.

Actual result

You get the warning but the 'Job Parameters' field is missing afterwards:

Before saving:

Screenshot 2021-08-18 093246

After saving:

Screenshot 2021-08-18 093500

Additional comments

Commented on https://github.com/joomla/joomla-cms/pull/35143#issuecomment-899456771

ditsuke commented 3 years ago

Thank you for opening this issue! I'll investigate soon.

ditsuke commented 3 years ago

Closed by c73fd27!