<!-- 
RSS generated by JIRA (6.1.4#6159-sha1:44eaedef2e4a625c6c7183698b2468d4719c20dc) at Fri Apr 17 08:29:38 EEST 2026

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 add field=key&field=summary to the URL of your request.
For example:
http://jira.mobinets.com/jira/si/jira.issueviews:issue-xml/LS-957/LS-957.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Mobinets-JIRA</title>
    <link>http://jira.mobinets.com/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>6.1.4</version>
        <build-number>6159</build-number>
        <build-date>19-11-2013</build-date>
    </build-info>

<item>
            <title>[LS-957] getAllPendingTasks is failed on OLD FN .80</title>
                <link>http://jira.mobinets.com/jira/browse/LS-957</link>
                <project id="14300" key="LS">L3 Support</project>
                    <description>&lt;p&gt;getAllPendingTasks is failed on OLD FN .80&lt;/p&gt;

&lt;p&gt;&amp;lt;soapenv:Envelope xmlns:soapenv=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; xmlns:ser=&quot;http://server.api.nep.mobinets.com/&quot;&amp;gt;&lt;br/&gt;
   &amp;lt;soapenv:Header/&amp;gt;&lt;br/&gt;
   &amp;lt;soapenv:Body&amp;gt;&lt;br/&gt;
      &amp;lt;ser:getAllPendingTasks/&amp;gt;&lt;br/&gt;
   &amp;lt;/soapenv:Body&amp;gt;&lt;br/&gt;
&amp;lt;/soapenv:Envelope&amp;gt;&lt;/p&gt;

&lt;p&gt;&amp;lt;soap:Envelope xmlns:soap=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;&amp;gt;&lt;br/&gt;
   &amp;lt;soap:Body&amp;gt;&lt;br/&gt;
      &amp;lt;soap:Fault&amp;gt;&lt;br/&gt;
         &amp;lt;faultcode&amp;gt;soap:Server&amp;lt;/faultcode&amp;gt;&lt;br/&gt;
         &amp;lt;faultstring&amp;gt;Error while loading Tasks No enum constant com.mobinets.nep.fn.model.nep.persist.enums.FnWoTaskStatus.Completed; nested exception is java.lang.IllegalArgumentException: No enum constant com.mobinets.nep.fn.model.nep.persist.enums.FnWoTaskStatus.Completed&amp;lt;/faultstring&amp;gt;&lt;br/&gt;
         &amp;lt;detail&amp;gt;&lt;br/&gt;
            &amp;lt;ns1:NepFault xmlns:ns1=&quot;http://server.api.nep.mobinets.com/&quot;&amp;gt;&lt;br/&gt;
               &amp;lt;errorCode xsi:type=&quot;xs:int&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xmlns:xs=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns:ns2=&quot;http://server.api.nep.mobinets.com/&quot;&amp;gt;1&amp;lt;/errorCode&amp;gt;&lt;br/&gt;
            &amp;lt;/ns1:NepFault&amp;gt;&lt;br/&gt;
         &amp;lt;/detail&amp;gt;&lt;br/&gt;
      &amp;lt;/soap:Fault&amp;gt;&lt;br/&gt;
   &amp;lt;/soap:Body&amp;gt;&lt;br/&gt;
&amp;lt;/soap:Envelope&amp;gt;&lt;/p&gt;
</description>
                <environment></environment>
        <key id="152710">LS-957</key>
            <summary>getAllPendingTasks is failed on OLD FN .80</summary>
                <type id="1" iconUrl="http://jira.mobinets.com/jira/images/icons/issuetypes/bug.png">Bug</type>
                                            <priority id="10001" iconUrl="http://jira.mobinets.com/jira/images/icons/urgent.png">Urgent</priority>
                        <status id="10023" iconUrl="http://jira.mobinets.com/jira/images/icons/statuses/generic.png">Ready for QA</status>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="mbayel">Mbaye Lo</assignee>
                                    <reporter username="mbayel">Mbaye Lo</reporter>
                        <labels>
                    </labels>
                <created>Tue, 24 Feb 2026 11:53:12 +0200</created>
                <updated>Tue, 10 Mar 2026 12:25:55 +0200</updated>
                                                                            <component>FN</component>
                        <due>Mon, 23 Feb 2026 00:00:00 +0200</due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                            <timeestimate seconds="0">0 minutes</timeestimate>
                            <timespent seconds="28800">1 day</timespent>
                                <comments>
                            <comment id="144334" author="abada" created="Thu, 26 Feb 2026 12:16:00 +0200"  >&lt;p&gt;During the investigation of the NullPointerException occurring in the getAllPendingTasks API, we identified that the issue was caused by inconsistent data in the database.&lt;/p&gt;

&lt;p&gt;Root Cause :&lt;/p&gt;

&lt;p&gt;Some records in FN_WO_TASK were linked to work orders whose subscriber_id referenced subscribers that do not exist in the FN_SUBSCRIBER table.&lt;/p&gt;

&lt;p&gt;This situation likely occurred due to a manual deletion of subscriber records directly from the database without cleaning or updating the related records in FN_WORK_ORDER and FN_WO_TASK, resulting in orphaned references.&lt;/p&gt;

&lt;p&gt;Resolution Applied&lt;/p&gt;

&lt;p&gt;We identified and removed the affected tasks whose work orders referenced non-existent subscribers.&lt;/p&gt;

&lt;p&gt;Verification Query : &lt;br/&gt;
SELECT t.id AS task_id, t.task_name, w.id AS wo_id, w.subscriber_id&lt;br/&gt;
FROM FN_WO_TASK t&lt;br/&gt;
JOIN FN_WORK_ORDER w ON t.wo_id = w.id&lt;br/&gt;
LEFT JOIN SUBSCRIBER s ON w.subscriber_id = s.id&lt;br/&gt;
WHERE w.subscriber_id IS NOT NULL&lt;br/&gt;
  AND s.id IS NULL;&lt;/p&gt;

&lt;p&gt;Cleanup Query Executed&lt;/p&gt;

&lt;p&gt;DELETE FROM FN_WO_TASK&lt;br/&gt;
WHERE wo_id IN (&lt;br/&gt;
    SELECT w.id&lt;br/&gt;
    FROM FN_WORK_ORDER w&lt;br/&gt;
    LEFT JOIN SUBSCRIBER s ON w.subscriber_id = s.id&lt;br/&gt;
    WHERE w.subscriber_id IS NOT NULL&lt;br/&gt;
      AND s.id IS NULL&lt;br/&gt;
);&lt;/p&gt;

&lt;p&gt;Optionally, orphaned work orders can also be removed:&lt;/p&gt;

&lt;p&gt;DELETE FROM FN_WORK_ORDER&lt;br/&gt;
WHERE subscriber_id IS NOT NULL&lt;br/&gt;
  AND subscriber_id NOT IN (SELECT id FROM SUBSCRIBER);&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                        <customfield id="customfield_11700" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>Actual Start</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 26 Feb 2026 00:00:00 +0200</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10306" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>Baseline End</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 23 Feb 2026 00:00:00 +0200</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10305" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>Baseline Start</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 23 Feb 2026 00:00:00 +0200</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Customer</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="12200"><![CDATA[OMAN-Tel]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11702" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>Date of Baselining</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 26 Feb 2026 12:18:20 +0200</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_11009" key="com.innovalog.jmcf.jira-misc-custom-fields:calculated-text-field">
                        <customfieldname>Dev. Actual Duration</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[0 minutes]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10304" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Gantt Options</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10200"><![CDATA[Milestone]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10800" key="com.capitalcityconsultants.jira.plugins.customfields.ccc-lastcomment:last-comment">
                        <customfieldname>Last Comment</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p style=&quot;display:inline&quot;&gt;&lt;b&gt;Evaluation License Error:&lt;/b&gt; EXPIRED&lt;/p&gt;</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_12500" key="com.atlassian.jira.toolkit:originalestimate">
                        <customfieldname>Original Estimate</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11008" key="com.innovalog.jmcf.jira-misc-custom-fields:calculated-text-field">
                        <customfieldname>PDM Actual Duration</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[0 minutes]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10301" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>Planned End</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 23 Feb 2026 00:00:00 +0200</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10300" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>Planned Start</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 23 Feb 2026 00:00:00 +0200</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10901" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|xtixq1:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10004" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_11704" key="vivid.trace:VTDirections-custom-field-type">
                        <customfieldname>VTDirections</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        </customfields>
    </item>
</channel>
</rss>