<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:48:34 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CSHARP-4551] Avoid using PID when generating ObjectIds</title>
                <link>https://jira.mongodb.org/browse/CSHARP-4551</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;The C# BSON creates a ObjectId&#160;&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/blob/225ea617f8d3276e1188a354e8ce79a7a7b5c072/src/MongoDB.Bson/ObjectModel/ObjectId.cs#L422&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;value with a call to System.Diagnostics.Process.GetCurrentProcess().Id&lt;/a&gt;. The Blazor Webassembly framework does not support calls to Process.GetCurrentProcess() (see&#160;&lt;a href=&quot;https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1837&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;&#160;and&#160;&lt;a href=&quot;https://github.com/dotnet/runtime/issues/38388&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt; and &lt;a href=&quot;https://github.com/dotnet/runtime/issues/56532&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;Are there any plans to fix this?&lt;/p&gt;</description>
                <environment></environment>
        <key id="2276609">CSHARP-4551</key>
            <summary>Avoid using PID when generating ObjectIds</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="13201">Fixed</resolution>
                                        <assignee username="dmitry.lukyanov@mongodb.com">Dmitry Lukyanov</assignee>
                                    <reporter username="isaac.borrero@firestar.io">Isaac Borrero</reporter>
                        <labels>
                    </labels>
                <created>Tue, 28 Feb 2023 02:09:37 +0000</created>
                <updated>Sat, 28 Oct 2023 11:46:57 +0000</updated>
                            <resolved>Wed, 29 Mar 2023 22:00:47 +0000</resolved>
                                                    <fixVersion>2.19.2</fixVersion>
                                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="5435194" author="JIRAUSER1272474" created="Thu, 18 May 2023 15:26:40 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=b.dhokia%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;b.dhokia@gmail.com&quot;&gt;b.dhokia@gmail.com&lt;/a&gt; Thanks for following up. We&apos;ll be releasing this fix in 2.19.2. We&apos;re aiming to publish that nuget package this week or early next. &lt;/p&gt;</comment>
                            <comment id="5434114" author="JIRAUSER1273567" created="Thu, 18 May 2023 08:33:52 +0000"  >&lt;p&gt;So is this resolved in the 2.19.1 nuget available on nuget.org as I&apos;m still facing the same issue.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&lt;cite&gt;Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer&lt;span class=&quot;error&quot;&gt;&amp;#91;100&amp;#93;&lt;/span&gt;&lt;/cite&gt;&lt;br/&gt;
&lt;cite&gt;&#160; &#160; &#160; Unhandled exception rendering component: The type initializer for &apos;MongoDB.Bson.ObjectId&apos; threw an exception.&lt;/cite&gt;&lt;br/&gt;
&lt;cite&gt;System.TypeInitializationException: The type initializer for &apos;MongoDB.Bson.ObjectId&apos; threw an exception.&lt;/cite&gt;&lt;br/&gt;
&lt;cite&gt;&#160;---&amp;gt; System.PlatformNotSupportedException: System.Diagnostics.Process is not supported on this platform.&lt;/cite&gt;&lt;br/&gt;
&lt;cite&gt;&#160; &#160;at System.Diagnostics.Process.GetCurrentProcess()&lt;/cite&gt;&lt;br/&gt;
&lt;cite&gt;&#160; &#160;at MongoDB.Bson.ObjectId.GetCurrentProcessId()&lt;/cite&gt;&lt;br/&gt;
&lt;cite&gt;&#160; &#160;at MongoDB.Bson.ObjectId.GetPid()&lt;/cite&gt;&lt;br/&gt;
&lt;cite&gt;&#160; &#160;at MongoDB.Bson.ObjectId.CalculateRandomValue()&lt;/cite&gt;&lt;br/&gt;
&lt;cite&gt;&#160; &#160;at MongoDB.Bson.ObjectId..cctor()&lt;/cite&gt;&lt;br/&gt;
&lt;cite&gt;&#160; &#160;--- End of inner exception stack trace ---&lt;/cite&gt;&lt;/p&gt;</comment>
                            <comment id="5433617" author="xgen-internal-githook" created="Thu, 18 May 2023 00:39:02 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Dmitry Lukyanov&apos;, &apos;email&apos;: &apos;dmitry.lukyanov@mongodb.com&apos;, &apos;username&apos;: &apos;DmitryLukyanov&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-4551&quot; title=&quot;Avoid using PID when generating ObjectIds&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-4551&quot;&gt;&lt;del&gt;CSHARP-4551&lt;/del&gt;&lt;/a&gt;: Avoid using PID when generating ObjectIds. (#1049)&lt;br/&gt;
Branch: v2.19.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/aed0fcc1079cf652deb9a52697d7b788ce8b5c9f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/aed0fcc1079cf652deb9a52697d7b788ce8b5c9f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5373554" author="JIRAUSER1273567" created="Tue, 25 Apr 2023 13:48:00 +0000"  >&lt;p&gt;I also face this issue so looking forward to the release. Any ideas when it will be available on nuget.org as I can&apos;t see it available at the moment.&lt;/p&gt;</comment>
                            <comment id="5310679" author="xgen-internal-githook" created="Wed, 29 Mar 2023 21:59:05 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Dmitry Lukyanov&apos;, &apos;email&apos;: &apos;dmitry.lukyanov@mongodb.com&apos;, &apos;username&apos;: &apos;DmitryLukyanov&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-4551&quot; title=&quot;Avoid using PID when generating ObjectIds&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-4551&quot;&gt;&lt;del&gt;CSHARP-4551&lt;/del&gt;&lt;/a&gt;: Avoid using PID when generating ObjectIds. (#1049)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/0e8aed203e71c9eac0d388f37c91503ccdebbe3f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/0e8aed203e71c9eac0d388f37c91503ccdebbe3f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5237559" author="isaac.borrero@firestar.io" created="Tue, 28 Feb 2023 18:34:03 +0000"  >&lt;p&gt;While I would LOVE, LOVE, LOVE for you to fix this, I understand if its not a priority.&#160; I am trying to determine if I should build a permanent workaround into my project.&lt;/p&gt;</comment>
                            <comment id="5237555" author="isaac.borrero@firestar.io" created="Tue, 28 Feb 2023 18:32:13 +0000"  >&lt;p&gt;Yes, the inner exception is &apos;System.PlatformNotSupportedException&apos;, while the outer exception is System.TypeInitializationException.&#160;&#160;&lt;/p&gt;</comment>
                            <comment id="5237011" author="dmitry.lukyanov" created="Tue, 28 Feb 2023 16:19:36 +0000"  >&lt;p&gt;Hey &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=isaac.borrero%40firestar.io&quot; class=&quot;user-hover&quot; rel=&quot;isaac.borrero@firestar.io&quot;&gt;isaac.borrero@firestar.io&lt;/a&gt;, thanks for your report, can you please confirm that you see a &quot;PlatformNotSupportedException&quot; exception in your case?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1827572">CSHARP-3755</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10257" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Documentation Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11861"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_14266" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Documentation Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;1.  What would you like to communicate to the user about this feature?&lt;br/&gt;
2.  Would you like the user to see examples of the syntax and/or executable code and its output?&lt;br/&gt;
3.  Which versions of the driver/connector does this apply to?&lt;/p&gt;</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i1ghpk:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>