<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:02:32 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-23147] Error updating deep nested array with positional operator</title>
                <link>https://jira.mongodb.org/browse/SERVER-23147</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Updating in deep nested array positional operator error i cant able to update array of documents in deep nested array..the positional  operator matches only the first level of array&lt;/p&gt;</description>
                <environment></environment>
        <key id="272575">SERVER-23147</key>
            <summary>Error updating deep nested array with positional operator</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="9">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="shibish">shibimukesh</reporter>
                        <labels>
                    </labels>
                <created>Tue, 15 Mar 2016 13:47:02 +0000</created>
                <updated>Wed, 16 Mar 2016 12:35:15 +0000</updated>
                            <resolved>Tue, 15 Mar 2016 15:03:07 +0000</resolved>
                                    <version>3.3.3</version>
                                                    <component>Querying</component>
                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="1205139" author="ramon.fernandez" created="Wed, 16 Mar 2016 12:32:52 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=shibish&quot; class=&quot;user-hover&quot; rel=&quot;shibish&quot;&gt;shibish&lt;/a&gt;, the SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the &lt;a href=&quot;http://groups.google.com/group/mongodb-user&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongodb-user group&lt;/a&gt; or &lt;a href=&quot;http://stackoverflow.com/questions/tagged/mongodb&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Stack Overflow with the &lt;tt&gt;mongodb&lt;/tt&gt; tag&lt;/a&gt;, where your question will reach a larger audience. A question like this involving more discussion would be best posted on the &lt;a href=&quot;http://groups.google.com/group/mongodb-user&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongodb-user group&lt;/a&gt;. See also our &lt;a href=&quot;https://www.mongodb.org/about/support/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Technical Support page&lt;/a&gt; for additional support resources.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Ram&#243;n.&lt;/p&gt;</comment>
                            <comment id="1204893" author="shibish" created="Wed, 16 Mar 2016 04:53:27 +0000"  >&lt;p&gt;{&quot;_id&quot;:1,&quot;sortname&quot;:&quot;AF&quot;,&quot;country_name&quot;:&quot;Afghanistan&quot;,&quot;stateinfo&quot;:[{&quot;_id&quot;:&lt;/p&gt;
{&quot;state_id&quot;:42,&quot;name&quot;:&quot;Badakhshan&quot;,&quot;country_id&quot;:1,&quot;cityinfo&quot;:[&quot;city_id&quot;:5909,&quot;city_name&quot;:&quot;Eshkashem&quot;,&quot;state_id&quot;:42}
&lt;p&gt;,{&quot;_id&quot;:&lt;/p&gt;
{&quot;city_id&quot;:5910,&quot;city_name&quot;:&quot;Fayzabad&quot;,&quot;state_id&quot;:42}
&lt;p&gt;,{&quot;_id&quot;:&lt;/p&gt;
{&quot;city_id&quot;:5911,&quot;city_name&quot;:&quot;Jurm&quot;,&quot;state_id&quot;:42}
&lt;p&gt;,{&quot;_id&quot;:&lt;/p&gt;
{&quot;city_id&quot;:5912,&quot;city_name&quot;:&quot;Khandud&quot;,&quot;state_id&quot;:42}
&lt;p&gt;,{&quot;_id&quot;:&lt;/p&gt;
{&quot;city_id&quot;:5913,&quot;city_name&quot;:&quot;Qal-eh-ye
Panjeh&quot;,&quot;state_id&quot;:42}
&lt;p&gt;]},{&quot;_id&quot;:{&quot;state_id&quot;:43,&quot;name&quot;:&quot;Badgis&quot;,&quot;country_id&quot;:1,&quot;cityinfo&quot;:[{&quot;_id&quot;:&lt;/p&gt;
{&quot;city_id&quot;:5914,&quot;city_name&quot;:&quot;Bala
Morghab&quot;,&quot;state_id&quot;:43}
&lt;p&gt;,&lt;/p&gt;
{&quot;city_id&quot;:5915,&quot;city_name&quot;:&quot;Qal-eh-ye
Naw&quot;,&quot;state_id&quot;:43}
&lt;p&gt;]}}}}}}}}&lt;/p&gt;

&lt;p&gt;this is my collection can u please help me how to update &quot;city_id&quot;:5911&lt;br/&gt;
under _id:1 state_id:42&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Best Regards,&lt;/b&gt;&lt;/p&gt;


&lt;p&gt;*Shibi.M*Hadoop Developer&lt;/p&gt;


&lt;p&gt;&amp;lt;&lt;a href=&quot;http://www.ndottech.com/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.ndottech.com/&lt;/a&gt;&amp;gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;NDOT Technologies Pvt Ltd&lt;/b&gt;,&lt;br/&gt;
Block No 3,&lt;br/&gt;
1,2 &amp;amp; 3rd Floor,&lt;br/&gt;
Mullai Nagar,&lt;br/&gt;
Coimbatore - 641041.&lt;br/&gt;
&lt;b&gt;Phone&lt;/b&gt;: +91 422-434-2518, 519&lt;/p&gt;

&lt;p&gt;shibi.m@ndot.in&lt;/p&gt;

&lt;p&gt;&lt;b&gt;US :&lt;/b&gt; +1 (323) 982-8943&lt;br/&gt;
&amp;lt;&lt;a href=&quot;https://www.facebook.com/ndotin&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.facebook.com/ndotin&lt;/a&gt;&amp;gt;&lt;br/&gt;
&amp;lt;&lt;a href=&quot;https://www.linkedin.com/company/ndot-technologies&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.linkedin.com/company/ndot-technologies&lt;/a&gt;&amp;gt;&lt;br/&gt;
&amp;lt;&lt;a href=&quot;http://twitter.com/ndottechnology&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://twitter.com/ndottechnology&lt;/a&gt;&amp;gt;&lt;/p&gt;

&lt;p&gt;&amp;lt;&lt;a href=&quot;http://www.ndot.in/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.ndot.in/&lt;/a&gt;&amp;gt;Enterprise Mobility &#8211; CRM &#8211; ERP &#8211; Mobile &#8211; Web &#8211;&lt;br/&gt;
Software &#8211; Hire Team &#8211; Ecommerce&lt;/p&gt;

&lt;p&gt;&lt;b&gt;INDIA (HQ)&lt;/b&gt; - Singapore - United States - Dubai - Morocco &#8211; Spain -&lt;br/&gt;
Venezuela&lt;/p&gt;

&lt;p&gt;&lt;b&gt;DISCLAIMER:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;The information contained in this message (including any attachments) is&lt;br/&gt;
confidential and may be privileged. If you have received it by mistake&lt;br/&gt;
please notify the sender by return e-mail and permanently delete this&lt;br/&gt;
message and any attachments from your system. Any dissemination, use,&lt;br/&gt;
review, distribution, printing or copying of this message in whole or in&lt;br/&gt;
part is strictly prohibited. Please note that e-mails are susceptible to&lt;br/&gt;
change. NDOT Technologies Pvt Ltd  (including its group companies) shall&lt;br/&gt;
not be liable for the improper or incomplete transmission of the&lt;br/&gt;
information contained in this email.&lt;/p&gt;

</comment>
                            <comment id="1204891" author="shibish" created="Wed, 16 Mar 2016 04:51:27 +0000"  >&lt;p&gt;We have a collection with country state city, while trying to update in&lt;br/&gt;
deep nested array ie., city using positional operator it shows error using&lt;br/&gt;
too many positional operator..&lt;br/&gt;
In order to make the update, I need to know the position of the city&lt;br/&gt;
document out of the following cities. but this is not a proper way to&lt;br/&gt;
update can u pls bring the solution for this&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Best Regards,&lt;/b&gt;&lt;/p&gt;


&lt;p&gt;*Shibi.M*Hadoop Developer&lt;/p&gt;


&lt;p&gt;&amp;lt;&lt;a href=&quot;http://www.ndottech.com/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.ndottech.com/&lt;/a&gt;&amp;gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;NDOT Technologies Pvt Ltd&lt;/b&gt;,&lt;br/&gt;
Block No 3,&lt;br/&gt;
1,2 &amp;amp; 3rd Floor,&lt;br/&gt;
Mullai Nagar,&lt;br/&gt;
Coimbatore - 641041.&lt;br/&gt;
&lt;b&gt;Phone&lt;/b&gt;: +91 422-434-2518, 519&lt;/p&gt;

&lt;p&gt;shibi.m@ndot.in&lt;/p&gt;

&lt;p&gt;&lt;b&gt;US :&lt;/b&gt; +1 (323) 982-8943&lt;br/&gt;
&amp;lt;&lt;a href=&quot;https://www.facebook.com/ndotin&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.facebook.com/ndotin&lt;/a&gt;&amp;gt;&lt;br/&gt;
&amp;lt;&lt;a href=&quot;https://www.linkedin.com/company/ndot-technologies&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.linkedin.com/company/ndot-technologies&lt;/a&gt;&amp;gt;&lt;br/&gt;
&amp;lt;&lt;a href=&quot;http://twitter.com/ndottechnology&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://twitter.com/ndottechnology&lt;/a&gt;&amp;gt;&lt;/p&gt;

&lt;p&gt;&amp;lt;&lt;a href=&quot;http://www.ndot.in/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.ndot.in/&lt;/a&gt;&amp;gt;Enterprise Mobility &#8211; CRM &#8211; ERP &#8211; Mobile &#8211; Web &#8211;&lt;br/&gt;
Software &#8211; Hire Team &#8211; Ecommerce&lt;/p&gt;

&lt;p&gt;&lt;b&gt;INDIA (HQ)&lt;/b&gt; - Singapore - United States - Dubai - Morocco &#8211; Spain -&lt;br/&gt;
Venezuela&lt;/p&gt;

&lt;p&gt;&lt;b&gt;DISCLAIMER:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;The information contained in this message (including any attachments) is&lt;br/&gt;
confidential and may be privileged. If you have received it by mistake&lt;br/&gt;
please notify the sender by return e-mail and permanently delete this&lt;br/&gt;
message and any attachments from your system. Any dissemination, use,&lt;br/&gt;
review, distribution, printing or copying of this message in whole or in&lt;br/&gt;
part is strictly prohibited. Please note that e-mails are susceptible to&lt;br/&gt;
change. NDOT Technologies Pvt Ltd  (including its group companies) shall&lt;br/&gt;
not be liable for the improper or incomplete transmission of the&lt;br/&gt;
information contained in this email.&lt;/p&gt;

&lt;p&gt;On Tue, Mar 15, 2016 at 8:34 PM, Ramon Fernandez (JIRA) &amp;lt;jira@mongodb.org&amp;gt;&lt;/p&gt;
</comment>
                            <comment id="1203847" author="ramon.fernandez" created="Tue, 15 Mar 2016 15:03:07 +0000"  >&lt;p&gt;This is expected behavior as &lt;a href=&quot;https://docs.mongodb.org/manual/reference/operator/update/positional/#nested-arrays&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;described in the documentation&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The positional $ operator cannot be used for queries which traverse more than one array, such as queries that traverse arrays nested within other arrays, because the replacement for the $ placeholder is a single value&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Ram&#243;n.&lt;/p&gt;
</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="272823">SERVER-23166</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 15 Mar 2016 15:03:07 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        7 years, 48 weeks 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_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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            7 years, 48 weeks 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>ramon.fernandez@mongodb.com</customfieldvalue>
            <customfieldvalue>shibish</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrkdjr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsjfn3:</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_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|hsf59r:</customfieldvalue>

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