Loading...
 
Skip to main content

validation of user preference such as distinct 'realname' does not work

Status
Open
Subject
validation of user preference such as distinct 'realname' does not work
Version
18.x Regression
18.x
Category
  • Bug
  • Regression
Feature
Trackers
Resolution status
New
Submitted by
Gergely
Lastmod by
Gergely
Rating
(0)
Description


user preferences are not stored in tiki_tracker_item_fields, so the query run for a user preference field 27, and value 'csabi' will not work

SELECT COUNT(*) FROM `tiki_tracker_item_fields` WHERE 1=1 AND `fieldId` = 27 AND `value` = 'csabi';

do we need a distinct_userpreference validator?
Then it would work across multiple user trackers, and we could solve the long standing ticket
https://dev.tiki.org/item3611-no-built-in-way-to-prevent-realName-user-pref-duplicates-automatically

Importance
7
Easy to solve?
5
Priority
35
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7298
Created
Monday 02 March, 2020 20:58:32 UTC
by Gergely
LastModif
Monday 02 March, 2020 20:58:32 UTC


Show PHP error messages