This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-08-30
Channels
- # aws (2)
- # beginners (139)
- # boot (9)
- # cider (1)
- # clara (2)
- # cljs-dev (35)
- # cljsrn (3)
- # clojure (112)
- # clojure-dusseldorf (9)
- # clojure-greece (6)
- # clojure-italy (13)
- # clojure-russia (160)
- # clojure-seattle-old (1)
- # clojure-uk (79)
- # clojurescript (85)
- # clojutre (1)
- # community-development (11)
- # core-async (32)
- # cryogen (2)
- # cursive (5)
- # data-science (16)
- # datomic (2)
- # events (1)
- # fulcro (29)
- # funcool (1)
- # graphql (4)
- # immutant (5)
- # instaparse (20)
- # jobs (2)
- # juxt (6)
- # leiningen (11)
- # luminus (21)
- # lumo (1)
- # off-topic (7)
- # onyx (20)
- # parinfer (33)
- # pedestal (4)
- # re-frame (41)
- # reagent (34)
- # ring-swagger (14)
- # rum (5)
- # spacemacs (9)
- # specter (11)
- # sql (14)
- # test-check (3)
- # yada (20)
@seancorfield in clojure.java.jdbc passing in a connection string to get-connection with mismatched parameters gives you a generic "Vector arg to map conj must be a pair". example "<mysql://localhost:3306/dbname?user=root&password=>" the person assumed this is what the connection string should look like if your password is blank. I was wondering if this is something worth wrapping in better error messaging or not.
Hmm, I would have expected that to work and just produce a nil
password
field. Can you open a JIRA issue? (I'm deep in debugging something unrelated right now)
Include the stack trace -- it looks to me like the code should just defer to java.net.URI
for that case...?
Type *e
to see the full stack trace
I've repro'd (since I had a REPL open and I'm stuck on my other problem! 😆 )
The bug is in parse-properties-uri
which it calls after it gets the URI
... I didn't write that function 🙂
Ah, (into {} query-parts)
and that is produced by calling .split
on foo=
which doesn't produce a 2-element vector...
I have a fix... testing...
OK, release 0.7.1 should be up on Maven later today with a fix for that. Thank you!