<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:25:52 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>[SERVER-73872] APIStrict validation is not performed for fields in inner structs in commands</title>
                <link>https://jira.mongodb.org/browse/SERVER-73872</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;For example for unstable fields in &lt;b&gt;UpdateOpEntry&lt;/b&gt; in &lt;b&gt;update&lt;/b&gt; command, &lt;b&gt;DeleteOpEntry&lt;/b&gt; in &lt;b&gt;delete&lt;/b&gt; command, &lt;b&gt;CollModIndex&lt;/b&gt; in &lt;b&gt;collMod&lt;/b&gt; command, etc, the APIStrictError is not thrown when apistrict is set to true.&lt;/p&gt;

&lt;p&gt;This looks to be happening because &lt;a href=&quot;https://github.com/10gen/mongo/blob/ce925dfbbc9459f65b1ad6f91a2d85c02ab69ca4/src/mongo/idl/idl_parser.h#L258&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this constructor of IDLParserContext&lt;/a&gt; doesn&apos;t set the value of _apiStrict to&#160; that of predecessor.&lt;/p&gt;

&lt;p&gt;Confirmed this behavior in 6.0&lt;/p&gt;</description>
                <environment></environment>
        <key id="2260336">SERVER-73872</key>
            <summary>APIStrict validation is not performed for fields in inner structs in commands</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</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="projjal.chanda@mongodb.com">Projjal Chanda</assignee>
                                    <reporter username="projjal.chanda@mongodb.com">Projjal Chanda</reporter>
                        <labels>
                    </labels>
                <created>Fri, 10 Feb 2023 12:28:33 +0000</created>
                <updated>Sun, 29 Oct 2023 21:26:32 +0000</updated>
                            <resolved>Tue, 21 Feb 2023 16:55:12 +0000</resolved>
                                                    <fixVersion>7.0.0-rc0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="5232578" author="JIRAUSER1272665" created="Mon, 27 Feb 2023 12:31:09 +0000"  >&lt;p&gt;This change doesn&apos;t fix the issue in createIndex command since there the parsing happens manually. Created ticket &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-74305&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/SERVER-74305&lt;/a&gt; to fix that.&lt;/p&gt;</comment>
                            <comment id="5226732" author="xgen-internal-githook" created="Thu, 23 Feb 2023 21:16:26 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Anna Henningsen&apos;, &apos;email&apos;: &apos;anna.henningsen@mongodb.com&apos;, &apos;username&apos;: &apos;addaleax&apos;}
&lt;p&gt;Message: chore(cli-repl): skip unique index creation test for apistrict (#1417)&lt;/p&gt;

&lt;p&gt;This recently started failing in CI because of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-73872&quot; title=&quot;APIStrict validation is not performed for fields in inner structs in commands&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-73872&quot;&gt;&lt;del&gt;SERVER-73872&lt;/del&gt;&lt;/a&gt;.&lt;br/&gt;
Branch: &lt;a href=&quot;https://jira.mongodb.org/browse/MONGOSH-1316&quot; title=&quot;Automatically create Queryable Encryption keys&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MONGOSH-1316&quot;&gt;&lt;del&gt;MONGOSH-1316&lt;/del&gt;&lt;/a&gt;-automatically-create-encryption-keys&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/mongosh/commit/11506970447d8c0d76a40ae4d361fbf4c1504c65&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/mongosh/commit/11506970447d8c0d76a40ae4d361fbf4c1504c65&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5225914" author="xgen-internal-githook" created="Thu, 23 Feb 2023 17:42:49 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Anna Henningsen&apos;, &apos;email&apos;: &apos;anna.henningsen@mongodb.com&apos;, &apos;username&apos;: &apos;addaleax&apos;}
&lt;p&gt;Message: chore(cli-repl): skip unique index creation test for apistrict (#1417)&lt;/p&gt;

&lt;p&gt;This recently started failing in CI because of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-73872&quot; title=&quot;APIStrict validation is not performed for fields in inner structs in commands&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-73872&quot;&gt;&lt;del&gt;SERVER-73872&lt;/del&gt;&lt;/a&gt;.&lt;br/&gt;
Branch: main&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/mongosh/commit/11506970447d8c0d76a40ae4d361fbf4c1504c65&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/mongosh/commit/11506970447d8c0d76a40ae4d361fbf4c1504c65&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5225753" author="xgen-internal-githook" created="Thu, 23 Feb 2023 17:03:37 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Anna Henningsen&apos;, &apos;email&apos;: &apos;anna.henningsen@mongodb.com&apos;, &apos;username&apos;: &apos;addaleax&apos;}
&lt;p&gt;Message: chore(cli-repl): skip unique index creation test for apistrict&lt;/p&gt;

&lt;p&gt;This recently started failing in CI because of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-73872&quot; title=&quot;APIStrict validation is not performed for fields in inner structs in commands&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-73872&quot;&gt;&lt;del&gt;SERVER-73872&lt;/del&gt;&lt;/a&gt;.&lt;br/&gt;
Branch: fix-latest-apistrict-tests&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/mongosh/commit/e63f72c5ec82ceaa7f364e598c5c74f6d101733f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/mongosh/commit/e63f72c5ec82ceaa7f364e598c5c74f6d101733f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5217264" author="JIRAUSER1272665" created="Tue, 21 Feb 2023 16:55:13 +0000"  >&lt;p&gt;There is a behaviour change (queries working in earlier versions can start failing) but it is an expected bug fix.&lt;/p&gt;</comment>
                            <comment id="5217161" author="xgen-internal-githook" created="Tue, 21 Feb 2023 16:35:48 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Projjal Chanda&apos;, &apos;email&apos;: &apos;projjal.chanda@mongodb.com&apos;, &apos;username&apos;: &apos;projjal&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-73872&quot; title=&quot;APIStrict validation is not performed for fields in inner structs in commands&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-73872&quot;&gt;&lt;del&gt;SERVER-73872&lt;/del&gt;&lt;/a&gt;: Perform apiStrict checking for fields in inner structs in a command.&lt;br/&gt;
During parsing a command, before parsing an inner struct we construct a new IDLParserContext for it by passing the original context. The apiStrict value is however not retained in the new context object.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a5100222e771814ced026b2040c1653cbf231f2c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a5100222e771814ced026b2040c1653cbf231f2c&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25376"><![CDATA[v6.3]]></customfieldvalue>
    <customfieldvalue key="23470"><![CDATA[v6.0]]></customfieldvalue>
    <customfieldvalue key="21777"><![CDATA[v5.0]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10011"><![CDATA[Minor Change]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 13 Feb 2023 17:59:58 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        49 weeks, 2 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></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_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            49 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>projjal.chanda@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i1v9rj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i1dpyo:</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>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_22250" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Special Downgrade Instructions Required</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="23343"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="5932">QE 2023-02-20</customfieldvalue>
    <customfieldvalue id="6990">QE 2023-03-06</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i1uvwv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>