Opened 5 weeks ago

Closed 2 weeks ago

#3186 closed enhancement (fixed)

Cooperator record clean-up

Reported by: Stacey Owned by: Benjamin Haag
Priority: medium Milestone:
Component: Database, Data Updates Version: N/A
Severity: 1 -- Low Effort Keywords: cooperator
Cc: Database Engine: N/A
Operating System: N/A

Description

remove leading & trailing whitespace characters from existing PW cooperator records & prevent those whitespace characters from being added to new records.

PW records mis-match with the GG coop records and cause confusion when bringing over an order through the OW.

The order wizard matches based on five fields: Last name, First name, Organization, Address Line 1 and Geography

So, specifically apply these changes to Last name, First name, Organization, and Address Line 1

Attachments (1)

Trac_3186.sql​ (8.7 KB ) - added by Benjamin Haag 2 weeks ago.

Download all attachments as: .zip

Change History (5)

comment:1 by Kay Kittell, 5 weeks ago

Component: Public Website 2 → Database, Data Updates
Owner: changed from Kay Kittell to Benjamin Haag
Status: new → assigned

I changed Controls/viewprofile to trim all text input to remove any leading or trailing whitespace.
It now needs to be cleaned up in the web_cooperator table.

comment:2 by Martin Reisinger, 3 weeks ago

Reject (do not allow a save web coop) if any of the 4 fields: Last name, First name, Organization, Address Line 1 are blank. Prince & Cher will need to improvise.

by Benjamin Haag, 2 weeks ago

Attachment: Trac_3186.sql​ added

in reply to:  2 comment:3 by Benjamin Haag, 2 weeks ago

Replying to Martin Reisinger:

Reject (do not allow a save web coop) if any of the 4 fields: Last name, First name, Organization, Address Line 1 are blank. Prince & Cher will need to improvise.

This should be a separate ticket.

comment:4 by Benjamin Haag, 2 weeks ago

Resolution: → fixed
Status: assigned → closed
Note: See TracTickets for help on using tickets.