<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Bug: Configuring ProGet via the API&#x2F;pgutil, fails on (certain) type conversions]]></title><description><![CDATA[<p dir="auto">Issue is quite straightforward:</p>
<pre><code>root@proget:/usr/local/proget# pgutil settings set --name=Web.ConcurrentRequestLimit --value=200
Server responded with InternalServerError (500): Object of type 'System.String' cannot be converted to type 'System.Nullable`1[System.Int32]'.
</code></pre>
<p dir="auto">I'm able to set the same setting via the page in Administration &gt; HTTP/S &amp; Certificate Settings, however I do see that it's (seemingly) persisted alongside the rest of the configuration rows. I'm guessing there's some predefined list that maps types, that this value doesn't show up in?</p>
<p dir="auto">Assuming making all values available directly isn't supported, maybe adding a <code>--type</code> or <code>--int</code> flag to <code>pgutil</code> would do the trick (and <code>--bool</code>, <code>--string</code> respectively)? This would be consistent with other tools I've used.</p>
]]></description><link>https://forums.inedo.com/topic/5866/bug-configuring-proget-via-the-api-pgutil-fails-on-certain-type-conversions</link><generator>RSS for Node</generator><lastBuildDate>Tue, 03 Nov 2026 17:54:59 GMT</lastBuildDate><atom:link href="https://forums.inedo.com/topic/5866.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 03 Nov 2026 11:05:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Bug: Configuring ProGet via the API&#x2F;pgutil, fails on (certain) type conversions on Tue, 03 Nov 2026 16:03:41 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/cyril" aria-label="Profile: cyril">@<bdi>cyril</bdi></a> ,</p>
<p dir="auto">Thanks for letting us know; we'll get this fixed via <a href="https://issues.inedo.com/issue/PG-3422" class="inedo-link inedo-link-pg" rel="nofollow ugc">PG-3422</a>, targeting the next maintenance release (Nov 13).</p>
<p dir="auto">FYI -- we will do it on the server-side, so no need to add an argument. These values are stored as a string (VARCHAR) in the database but converted to a typed value in the code (C#). So, we just need to add a type coercion to the API, similar to what the UI page does.</p>
<p dir="auto">-- Dean</p>
]]></description><link>https://forums.inedo.com/post/20177</link><guid isPermaLink="true">https://forums.inedo.com/post/20177</guid><dc:creator><![CDATA[dean-houston]]></dc:creator><pubDate>Tue, 03 Nov 2026 16:03:41 GMT</pubDate></item></channel></rss>