-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't workingcriticalThis options is preventing use of the application or will corrupted data.This options is preventing use of the application or will corrupted data.
Milestone
Description
When we have a diacritical in the clpid there is a problem when saving the edited record. Two example clpid are García-Javier-A and
Schröder-P. Kathy quickly identified others with a similar pattern. I can update plan ASCII clpid (e.g. myself) without a problem.
The output of cold reports the following
send to dataset update object García-Javier-A
URIError: URI malformed
at decodeURI (<anonymous>)
at pathIdentifier (file:///Users/rsdoiel/src/github.com/caltechlibrary/cold/utils.ts:33:12)
at handleGetPeople (file:///Users/rsdoiel/src/github.com/caltechlibrary/cold/people.ts:433:17)
at handlePeople (file:///Users/rsdoiel/src/github.com/caltechlibrary/cold/people.ts:401:18)
at ColdReadWriteHandler (file:///Users/rsdoiel/src/github.com/caltechlibrary/cold/cold.ts:57:12)
at file:///Users/rsdoiel/src/github.com/caltechlibrary/cold/cold.ts:176:14
at mapped (ext:deno_http/00_serve.ts:399:24)
at mapped (ext:deno_http/00_serve.ts:495:16)
at ext:deno_http/00_serve.ts:752:29
at eventLoopTick (ext:core/01_core.js:178:7)
send to dataset update object García-Javier-A
URIError: URI malformed
at decodeURI (<anonymous>)
at pathIdentifier (file:///Users/rsdoiel/src/github.com/caltechlibrary/cold/utils.ts:33:12)
at handleGetPeople (file:///Users/rsdoiel/src/github.com/caltechlibrary/cold/people.ts:433:17)
at handlePeople (file:///Users/rsdoiel/src/github.com/caltechlibrary/cold/people.ts:401:18)
at ColdReadWriteHandler (file:///Users/rsdoiel/src/github.com/caltechlibrary/cold/cold.ts:57:12)
at file:///Users/rsdoiel/src/github.com/caltechlibrary/cold/cold.ts:176:14
at mapped (ext:deno_http/00_serve.ts:399:24)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcriticalThis options is preventing use of the application or will corrupted data.This options is preventing use of the application or will corrupted data.