<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:52: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>[JAVA-545] more verbose error messages for illegal field names</title>
                <link>https://jira.mongodb.org/browse/JAVA-545</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;To help debugging, please include additional context info (such as the class name and field name) in the error message. &lt;/p&gt;

&lt;p&gt;In the example below, it takes guesswork to find out which field and which class this error occurred in.&lt;/p&gt;

&lt;p&gt;java.lang.IllegalArgumentException: fields stored in the db can&apos;t have . in them&lt;br/&gt;
	com.mongodb.DBCollection._checkKeys(DBCollection.java:828)&lt;br/&gt;
	com.mongodb.DBCollection._checkKeys(DBCollection.java:834)&lt;br/&gt;
	com.mongodb.DBCollection._checkObject(DBCollection.java:817)&lt;br/&gt;
	com.mongodb.DBCollection.save(DBCollection.java:516)&lt;br/&gt;
	com.google.code.morphia.DatastoreImpl.save(DatastoreImpl.java:731)&lt;br/&gt;
	com.google.code.morphia.DatastoreImpl.save(DatastoreImpl.java:793)&lt;br/&gt;
	com.google.code.morphia.DatastoreImpl.save(DatastoreImpl.java:787)&lt;br/&gt;
	com.google.code.morphia.dao.BasicDAO.save(BasicDAO.java:109)&lt;br/&gt;
	com.vmware.cloudchooser.ActivePages$DAO.update(ActivePages.java:60)&lt;br/&gt;
	org.apache.jsp.admin.admin_002dactive_jsp._jspService(admin_002dactive_jsp.java:80)&lt;br/&gt;
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)&lt;br/&gt;
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)&lt;br/&gt;
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)&lt;br/&gt;
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)&lt;br/&gt;
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)&lt;br/&gt;
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)&lt;/p&gt;</description>
                <environment>morphia version 0.99&lt;br/&gt;
mongodb version v1.8.1</environment>
        <key id="34645">JAVA-545</key>
            <summary>more verbose error messages for illegal field names</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="jeff.yemin@mongodb.com">Jeffrey Yemin</assignee>
                                    <reporter username="straz">Steve Strassmann</reporter>
                        <labels>
                    </labels>
                <created>Sun, 25 Mar 2012 16:15:24 +0000</created>
                <updated>Wed, 19 Oct 2016 14:17:27 +0000</updated>
                            <resolved>Mon, 27 Aug 2012 22:03:19 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="103502" author="jeff.yemin" created="Mon, 26 Mar 2012 12:07:42 +0000"  >&lt;p&gt;Please upgrade to version 2.7.3 of the Java driver, where this has already been addressed.  You will at least be informed about the field name.  As for the class name, the Java driver is not aware of it, so you would have to open up a bug in the Morphia project for that one.&lt;/p&gt;</comment>
                    </comments>
                    <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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrhb7r:</customfieldvalue>

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