core icon indicating copy to clipboard operation
core copied to clipboard

Unique field creating Duplicate values on Structures

Open prasadbhvn opened this issue 13 years ago • 3 comments

We need to remove white spaces while saving a value for Unique field . http://www.screencast.com/t/ntxuNaZR

Verified on tomcat running master.

Steps:

  1. Go to Structures
  2. Add a text field to the Structure make sure to check the Unique box
  3. Create duplicate content.

Testing Info: Platform: W7 Running on JBOSS 5.1 Database: postgres Browser(s): Chrome

prasadbhvn avatar Dec 14 '12 07:12 prasadbhvn

Cleaning the spaces off the end seems right. I was also wondering about case sensitive. Should you be able to save both "Prasad" and "prasad"? My first instinct is that we should do a lower or something before comparison to make the field case insensitive... but not sure what is the right call.

DeanGonzalez avatar Dec 19 '12 14:12 DeanGonzalez

well the index is always lower. We have issues with the unique box and performance. We need to solve this. We will be looking at this when we look at the storage fixes and relationship index storage fixes

jtesser avatar Jan 02 '13 19:01 jtesser

I was able to recreate in master-2.5 . Test info SQL Server//master-2.5//chrome

prasadbhvn avatar Nov 29 '13 12:11 prasadbhvn