Project

General

Profile

Bug #7795

Ajax validation caching causing odd validation behavior

Added by krileon 12 months ago. Updated 2 months 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

History

#1 Updated by krileon 12 months ago

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

#2 Updated by krileon 12 months 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.

#3 Updated by krileon 12 months ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

#4 Updated by krileon 2 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF