IQSS logo

IRC log for #dataverse, 2020-07-10

Connect via chat.dataverse.org to discuss Dataverse (dataverse.org, an open source web application for sharing, citing, analyzing, and preserving research data) with users and developers.

| Channels | #dataverse index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
01:02 jri joined #dataverse
03:24 jri joined #dataverse
04:12 bricas joined #dataverse
04:13 bjonnh joined #dataverse
04:14 GitterIntegratio joined #dataverse
04:14 JonathanNeal joined #dataverse
04:16 yoh joined #dataverse
04:22 GitterIntegratio joined #dataverse
04:46 icarito[m] joined #dataverse
04:46 poikilotherm joined #dataverse
06:36 juancorr joined #dataverse
07:00 jri joined #dataverse
07:44 jri joined #dataverse
11:55 donsizemore joined #dataverse
13:36 Jonas54 joined #dataverse
13:36 Jonas54 Hi everybody :)
13:37 Jonas54 So, we are trying to add an option QueryParam(...) to an api call, but we can't figure out how to make it optional, defaulting to true
13:37 Jonas54 https://github.com/IQSS/dataverse/pull/7033
13:37 Jonas54 https://jenkins.dataverse.org/blue/organizations/jenkins/IQSS-Dataverse-Develop-PR/detail/PR-7033/10/
13:37 Jonas54 "cannot find symbol  [ERROR] symbol:   class DefaultValue" ---- so we must have used to wrong docs to figure this out
13:38 Jonas54 (for the PathParams we just created some overloaded function calls)
13:42 adam48 joined #dataverse
14:04 pdurbin Jonas54: maybe you could check if sendEmailNotification is null or empty and then set it to true. I'm not sure why @DefaultValue isn't working but I don't recall using it myself. Another thought is to email the dataverse-dev list about this. You'll reach more people.
14:08 Jonas54 i got it from here https://www.logicbig.com/tutorials/java-ee-tutorial/jax-rs/using-query-param.html
14:08 Jonas54 but i'm unsure whether this is an activated component
14:10 Jonas54 anyways, we will follow your advice and check for null/zerostring
14:10 Jonas54 ...with Strings.isNullOrEmpty(String str)
14:11 pdurbin cool
14:38 Jonas54 let's see if this is good enough for QA :)
14:38 Jonas54 have a nice weekend!
15:50 jri joined #dataverse
16:45 jri joined #dataverse
18:48 jri joined #dataverse
20:44 pdurbin You too! All of you. See you Monday.
20:44 pdurbin left #dataverse
21:30 jri joined #dataverse

| Channels | #dataverse index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

Connect via chat.dataverse.org to discuss Dataverse (dataverse.org, an open source web application for sharing, citing, analyzing, and preserving research data) with users and developers.