Unique field creating Duplicate values on Structures
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:
- Go to Structures
- Add a text field to the Structure make sure to check the Unique box
- Create duplicate content.
Testing Info: Platform: W7 Running on JBOSS 5.1 Database: postgres Browser(s): Chrome
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.
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
I was able to recreate in master-2.5 . Test info SQL Server//master-2.5//chrome