<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Bug in Definition Query dialog of layer properties in Pro 2.0.1? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/bug-in-definition-query-dialog-of-layer-properties/m-p/615995#M27367</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;seems wrong, but did you try two double- quotes?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 03 Mar 2018 18:51:15 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2018-03-03T18:51:15Z</dc:date>
    <item>
      <title>Bug in Definition Query dialog of layer properties in Pro 2.0.1?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/bug-in-definition-query-dialog-of-layer-properties/m-p/615991#M27363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can someone confirm this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am running into a major issue where it seems Pro is omitting pairs of single quotes ('') in the display of the &lt;STRONG&gt;Definition Query&lt;/STRONG&gt; in layer properties. Look at the attached image, and notice that at the location of the black arrow, no single quotes are visible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The query clause should look like this (which is valid SQL):&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(osm_covered IS NULL OR osm_covered IN ('','no'))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;but instead reads like this:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(osm_covered IS NULL OR osm_covered IN (,'no'))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence, the query does not evaluate: if I click &lt;STRONG&gt;Verify the SQL expression is valid&lt;/STRONG&gt;, the dialog displays an error stating the SQL is invalid. Note that with &lt;STRONG&gt;Clause Mode&lt;/STRONG&gt;, I see the same issue, the consecutive single quotes are omitted and don't display in the Clause Mode display of the query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="369657" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/369657_pastedImage_5.png" style="width: 620px; height: 402px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue only seems to be limited to the dialog itself, because if I save the layer to &lt;STRONG&gt;*.lyrx&lt;/STRONG&gt; layer file, and examine its contents using a text editor, the SQL Definition Query looks OK. Also, the layer properly displays in the map, which is only possible if internally in the layer object, the SQL is valid:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="369658" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/369658_pastedImage_7.png" style="width: 620px; height: 173px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Sep 2017 08:10:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/bug-in-definition-query-dialog-of-layer-properties/m-p/615991#M27363</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2017-09-03T08:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in Definition Query dialog of layer properties in Pro 2.0.1?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/bug-in-definition-query-dialog-of-layer-properties/m-p/615992#M27364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;escalate to tech support&lt;/P&gt;&lt;P&gt;I presume that you ruled out double-quoting the single quotes? ie (" ' ' ", 'no')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Sep 2017 09:03:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/bug-in-definition-query-dialog-of-layer-properties/m-p/615992#M27364</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-09-03T09:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in Definition Query dialog of layer properties in Pro 2.0.1?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/bug-in-definition-query-dialog-of-layer-properties/m-p/615993#M27365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I just send an e-mail to the support desk of the Dutch branch of ESRI, with a reference to this thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will post again when I get an answer of them. Could well be an already registered bug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As to your suggestion: double quoting the single quotes is not the same as the clause I need. Double quoting the single quotes will test for the existence of a string with a contents of two consecutive single quotes. My clause should test for an empty string (which is not always the same as NULL in software systems, hence I test for this in the SQL).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Sep 2017 09:10:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/bug-in-definition-query-dialog-of-layer-properties/m-p/615993#M27365</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2017-09-03T09:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in Definition Query dialog of layer properties in Pro 2.0.1?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/bug-in-definition-query-dialog-of-layer-properties/m-p/615994#M27366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This bug is still not fixed in 2.1.2. Can someone of ESRI inc. give an update? Was this ever logged at ESRI inc. as a bug?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is sometimes difficult to get more information through the local ESRI distributors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the difference in the display of the Definition Query in ArcGIS Pro versus ArcMap in attached images:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ArcGIS Pro 2.1.2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="398019" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/398019_pastedImage_1.png" style="width: 620px; height: 231px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ArcMap 10.6:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="398020" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/398020_pastedImage_2.png" style="width: 620px; height: 105px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Mar 2018 15:18:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/bug-in-definition-query-dialog-of-layer-properties/m-p/615994#M27366</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2018-03-03T15:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in Definition Query dialog of layer properties in Pro 2.0.1?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/bug-in-definition-query-dialog-of-layer-properties/m-p/615995#M27367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;seems wrong, but did you try two double- quotes?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Mar 2018 18:51:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/bug-in-definition-query-dialog-of-layer-properties/m-p/615995#M27367</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-03-03T18:51:15Z</dc:date>
    </item>
  </channel>
</rss>

