Project

General

Profile

Actions

Bug #7795

closed

Ajax validation caching causing odd validation behavior

Added by krileon almost 5 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
10 December 2019
Due date:
% Done:

100%

Estimated time:

Description

Due to the validation caching and always validating as true if previous value is same as new value there can be cases where the existing value doesn't pass validation and returns true when it should invalidate.

https://www.joomlapolis.com/forum/153-professional-member-support/241877-form-validation-over-multiple-fields?start=6

Actions #1

Updated by krileon almost 5 years ago

This is due to allowing additional fields in the validation. Those fields also need to be considered in the cache.

Actions #2

Updated by krileon almost 5 years ago

Previous value caching shouldn't even exist for code validation. Completely remove that caching and issue resolves. We always want to evaluate the code validation. Same change is needed for query validation as well.

Actions #3

Updated by krileon almost 5 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by krileon about 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF