<?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: Task object personality failure in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Bug-Task-object-personality-failure/m-p/105993#M5417</link>
    <description>&lt;P&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/37502"&gt;@Omer_Kleinstern&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Dec 2020 01:34:52 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2020-12-21T01:34:52Z</dc:date>
    <item>
      <title>Bug: Task object personality failure</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Bug-Task-object-personality-failure/m-p/105990#M5416</link>
      <description>&lt;P&gt;When you run 'show tasks' with 'details-level full', each task has a uid and a task-id, which are different:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[Expert@labStandalone:0]# mgmt_cli -r true show tasks --format json limit 1 details-level full
{
  "tasks" : [ {
    "uid" : "e3a07b41-cb04-4df7-aaf1-310fba048cf6",
    "type" : "task",
    "domain" : {...},
    "task-id" : "924fb037-9b19-4e8d-8290-c2173e213dce",
    "task-name" : "Policy installation - Standard",
...&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;'show object uid ____' works for the UUID in the task object:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[Expert@labStandalone:0]# mgmt_cli -r true show object uid "e3a07b41-cb04-4df7-aaf1-310fba048cf6" --format json
{
  "object" : {
    "uid" : "e3a07b41-cb04-4df7-aaf1-310fba048cf6",
    "type" : "task",
    "domain" : {
      "uid" : "41e821a0-3720-11e3-aa6e-0800200c9fde",
      "name" : "SMC User",
      "domain-type" : "domain"
    }
  }
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Out of curiosity, I tried adding 'details-level full', and got an error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[Expert@labStandalone:0]# mgmt_cli -r true show object uid "e3a07b41-cb04-4df7-aaf1-310fba048cf6" --format json details-level full
{
  "code" : "generic_error",
  "message" : "Runtime error: com.checkpoint.management.coresvc.ngm_api.task_notifications.TaskNotification incompatible with java.util.Collection"
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;This doesn't affect me right now, it's just something I found odd, and thought was worth reporting.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Edited to add&lt;/STRONG&gt;: Forgot to include my version. I'm on R80.40 jumbo 87. Updating to 91 later tonight, but I doubt it will change the behavior.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 00:17:47 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Bug-Task-object-personality-failure/m-p/105990#M5416</guid>
      <dc:creator>Bob_Zimmerman</dc:creator>
      <dc:date>2020-12-21T00:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Bug: Task object personality failure</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Bug-Task-object-personality-failure/m-p/105993#M5417</link>
      <description>&lt;P&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/37502"&gt;@Omer_Kleinstern&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 01:34:52 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Bug-Task-object-personality-failure/m-p/105993#M5417</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2020-12-21T01:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Bug: Task object personality failure</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Bug-Task-object-personality-failure/m-p/106057#M5418</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Sorry, tasks are not supported in show-object API.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 16:35:21 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Bug-Task-object-personality-failure/m-p/106057#M5418</guid>
      <dc:creator>Or_Soffer</dc:creator>
      <dc:date>2020-12-21T16:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Bug: Task object personality failure</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Bug-Task-object-personality-failure/m-p/106060#M5419</link>
      <description>&lt;P&gt;I figured, but it should give consistent results, and ideally that result should be a specific error rather than an internal Java error propagated upwards.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 17:05:09 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Bug-Task-object-personality-failure/m-p/106060#M5419</guid>
      <dc:creator>Bob_Zimmerman</dc:creator>
      <dc:date>2020-12-21T17:05:09Z</dc:date>
    </item>
  </channel>
</rss>

