<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:39:58 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>[GODRIVER-3056] v1.13.0 introduces panics and thus breaking change&#160;</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-3056</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;h3&gt;&lt;a name=&quot;Context&quot;&gt;&lt;/a&gt;&lt;b&gt;Context&lt;/b&gt;&lt;/h3&gt;

&lt;p&gt;&lt;font color=&quot;#505f79&quot;&gt;v1.13.0 introduces panics and thus breaking change, i reverted to v1.12.1 and it works normally again.&lt;br/&gt;
Error message is: `interface conversion: interface is nil, not bsoncodec.ValueEncoder`&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font color=&quot;#505f79&quot;&gt;location of panic: &lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/compare/v1.12.2...v1.13.0#diff-47bf0c01e00c33986c6fe19d7b1aaee2df975f5b2aad923a29f07192fda9cb05R45&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/compare/v1.12.2...v1.13.0#diff-47bf0c01e00c33986c6fe19d7b1aaee2df975f5b2aad923a29f07192fda9cb05R45&lt;/a&gt;&#160;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font color=&quot;#505f79&quot;&gt;```&lt;/font&gt;&lt;br/&gt;
goroutine 292 &lt;span class=&quot;error&quot;&gt;&amp;#91;running&amp;#93;&lt;/span&gt;:&lt;br/&gt;
runtime/debug.Stack()&lt;br/&gt;
/usr/local/go/src/runtime/debug/stack.go:24 +0x5e&lt;br/&gt;
github.com/adhocore/module/web.errlogc(0xc00090a480, {0xc0004bdb58?, 0x1, 0xc000000b40?})&lt;br/&gt;
~/projects/my/module/web/helper.go:297 +0xcc&lt;br/&gt;
github.com/adhocore/module/web.errlog(0xc18500?, {0xc0004bdb58, 0x1, 0x1})&lt;br/&gt;
~/projects/my/module/web/helper.go:282 +0x39&lt;br/&gt;
github.com/adhocore/module/web.errorx(0xc000209800, {0x7f77785800b8?, 0xc000300390})&lt;br/&gt;
~/projects/my/module/web/helper.go:175 +0x66e&lt;br/&gt;
github.com/adhocore/module/web.bootstrap.func2(0x10?, {0xc17300?, 0xc000300390?})&lt;br/&gt;
~/projects/my/module/web/app.go:150 +0x3e&lt;br/&gt;
github.com/adhocore/module/web.bootstrap.New.func3.1()&lt;br/&gt;
~/go/pkg/mod/github.com/gofiber/fiber/v2@v2.51.0/middleware/recover/recover.go:31 +0x72&lt;br/&gt;
panic({0xc17300?, 0xc000300390?})&lt;br/&gt;
/usr/local/go/src/runtime/panic.go:914 +0x21f&lt;br/&gt;
go.mongodb.org/mongo-driver/bson/bsoncodec.(*typeEncoderCache).LoadOrStore(...)&lt;br/&gt;
~/go/pkg/mod/go.mongodb.org/mongo-driver@v1.13.0/bson/bsoncodec/codec_cache.go:45&lt;br/&gt;
go.mongodb.org/mongo-driver/bson/bsoncodec.(*Registry).storeTypeEncoder(0xc00032e2a0?, {0xf48e88?, 0xc17100?}, {0x0, 0x0})&lt;br/&gt;
~/go/pkg/mod/go.mongodb.org/mongo-driver@v1.13.0/bson/bsoncodec/registry.go:416 +0x77&lt;br/&gt;
go.mongodb.org/mongo-driver/bson/bsoncodec.(*Registry).LookupEncoder(0xc00032e2a0, {0xf48e88, 0xc17100})&lt;br/&gt;
~/go/pkg/mod/go.mongodb.org/mongo-driver@v1.13.0/bson/bsoncodec/registry.go:411 +0x1fa&lt;br/&gt;
go.mongodb.org/mongo-driver/bson/bsoncodec.(*StructCodec).describeStructSlow(0xc0001db4c0, 0xcc0380?, {0xf48e88, 0xcce820}, 0x0, 0x0)&lt;br/&gt;
~/go/pkg/mod/go.mongodb.org/mongo-driver@v1.13.0/bson/bsoncodec/struct_codec.go:515 +0x225&lt;br/&gt;
go.mongodb.org/mongo-driver/bson/bsoncodec.(*StructCodec).describeStruct(0xc0001db4c0, 0x1c?, {0xf48e88?, 0xcce820}, 0x53?, 0x5c?)&lt;br/&gt;
~/go/pkg/mod/go.mongodb.org/mongo-driver@v1.13.0/bson/bsoncodec/struct_codec.go:483 +0x9a&lt;br/&gt;
go.mongodb.org/mongo-driver/bson/bsoncodec.(*StructCodec).DecodeValue(0xc0001db4c0, {0xc00032e2a0, 0x0, &lt;/p&gt;
{0x0, 0x0}, {0x0, 0x0}, 0x0, 0x0, 0x0, ...}, ...)&lt;br/&gt;
~/go/pkg/mod/go.mongodb.org/mongo-driver@v1.13.0/bson/bsoncodec/struct_codec.go:282 +0x111&lt;br/&gt;
go.mongodb.org/mongo-driver/bson/bsoncodec.(*PointerCodec).DecodeValue(0xc0001db500, {0xc00032e2a0, 0x0, {0x0, 0x0}
&lt;p&gt;, {0x0, 0x0}, 0x0, 0x0, 0x0, ...}, ...)&lt;br/&gt;
~/go/pkg/mod/go.mongodb.org/mongo-driver@v1.13.0/bson/bsoncodec/pointer_codec.go:91 +0x2ab&lt;br/&gt;
go.mongodb.org/mongo-driver/bson.(*Decoder).Decode(0xc0006a00f0, {0xbc92a0, 0xc0003e8108})&lt;br/&gt;
~/go/pkg/mod/go.mongodb.org/mongo-driver@v1.13.0/bson/decoder.go:134 +0x3e3&lt;br/&gt;
go.mongodb.org/mongo-driver/mongo.(*Cursor).Decode(0x7f777857e6b0?, {0xbc92a0, 0xc0003e8108})&lt;br/&gt;
~/go/pkg/mod/go.mongodb.org/mongo-driver@v1.13.0/mongo/cursor.go:275 +0x8e&lt;br/&gt;
github.com/adhocore/module/model.(*Scrip).fromCursor(0xc00035e1c0, 0xf40328?)&lt;br/&gt;
~/projects/my/module/model/scrip.go:150 +0x6b&lt;br/&gt;
github.com/adhocore/module/model.(*Stocks).loadScrips(0xc000aaac60, 0x0, {0x0, 0x0, 0x0})&lt;br/&gt;
~/projects/my/module/model/stocks.go:234 +0x2a9&lt;br/&gt;
```&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;Definitionofdone&quot;&gt;&lt;/a&gt;&lt;b&gt;Definition of done&lt;/b&gt;&lt;/h3&gt;

&lt;p&gt;&lt;font color=&quot;#505f79&quot;&gt;What must be done to consider the task complete?&lt;/font&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;Pitfalls&quot;&gt;&lt;/a&gt;&lt;b&gt;Pitfalls&lt;/b&gt;&lt;/h3&gt;

&lt;p&gt;&lt;font color=&quot;#505f79&quot;&gt;What should the implementer watch out for? What are the risks?&lt;/font&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="2507174">GODRIVER-3056</key>
            <summary>v1.13.0 introduces panics and thus breaking change&#160;</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="3">Duplicate</resolution>
                                        <assignee username="qingyang.hu@mongodb.com">Qingyang Hu</assignee>
                                    <reporter username="jiten.adhikary@gmail.com">Jitendra Adhikari</reporter>
                        <labels>
                    </labels>
                <created>Wed, 22 Nov 2023 09:35:54 +0000</created>
                <updated>Wed, 29 Nov 2023 15:40:20 +0000</updated>
                            <resolved>Wed, 29 Nov 2023 15:40:20 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="5897905" author="dbeng-pm-bot" created="Wed, 22 Nov 2023 09:35:56 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jiten.adhikary%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;jiten.adhikary@gmail.com&quot;&gt;jiten.adhikary@gmail.com&lt;/a&gt;, thank you for reporting this issue! The team will look into it and get back to you soon. &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="2500383">GODRIVER-3051</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                        <customfield id="customfield_23812" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Assigned Team</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="26446"><![CDATA[Go Drivers]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </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|i2jf2s:</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>