Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
Description
<p>DvbIP scanning use regular Tune() calls for scanning. In this case the channelId is -1 and the user is "normal".</p>
<p>The UserManagement class throws an exception for this case:</p>
<div style='margin-left: 1em;'><pre class='brush: plain; toolbar: false;'>
if (idChannel < 1 && user.UserType != UserType.Scanner) // EGP scanner have no channel
throw new InvalidOperationException("idChannel is invalid");
</pre><img onload='SyntaxHighlighter.highlight();' style='display:none;' src='/s/en_US3oggwm-1988229788/6144/8/1.7.1/_/download/resources/jira.plugin.syntaxhighlighter.macro.syntaxplugin:images/blank.png'/></div>
<p>The UserManagement class throws an exception for this case:</p>
<div style='margin-left: 1em;'><pre class='brush: plain; toolbar: false;'>
if (idChannel < 1 && user.UserType != UserType.Scanner) // EGP scanner have no channel
throw new InvalidOperationException("idChannel is invalid");
</pre><img onload='SyntaxHighlighter.highlight();' style='display:none;' src='/s/en_US3oggwm-1988229788/6144/8/1.7.1/_/download/resources/jira.plugin.syntaxhighlighter.macro.syntaxplugin:images/blank.png'/></div>