Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-376

"Disabled" Data Sources do not appear under the Data Sources tab within Preferences

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      While testing issues relating to adding a data source I noticed that IGB sometimes generates a pop-up when there is a problem with the data source that is being added (see attachment). This pop-up explains that IGB is "Disabling the Data Source for the session".

      However, under the Data Sources tab within the Preferences widget I noticed that there are a list of Data Sources that have been added. If they are enabled, there is a checked box under the "Enabled column". If they are DISABLED then the checkbox is not checked.

      The problem is that when IGB generates the popup "Disabling for the session", this disabled data source does not get added to the data source list in Preferences. It should get added but the "Enabled checkbox" should just not be checked since the source is disabled, but this does not happen.

      Since it is not added to the list, there is no way to edit, remove, or add the disabled data source. Trying to re-add the data source generates a popup stating "This data source has already been added" (see other attachment;exact URL has been hidden). The only way to add the data source again is to Reset IGB Preferences, unfortunately.

        Attachments

          Activity

          mason Mason Meyer (Inactive) created issue -
          Hide
          mason Mason Meyer (Inactive) added a comment - - edited

          To reproduce the "Disabling for the Session" popup, it may be helpful to add a data source that requires authentication and then just "Cancel" the Authentication window. (this usually produces the pop-up).

          An example of a data source that requires authentication can be found by asking Mason.

          Show
          mason Mason Meyer (Inactive) added a comment - - edited To reproduce the "Disabling for the Session" popup, it may be helpful to add a data source that requires authentication and then just "Cancel" the Authentication window. (this usually produces the pop-up). An example of a data source that requires authentication can be found by asking Mason.
          mason Mason Meyer (Inactive) made changes -
          Field Original Value New Value
          Attachment AlreadyBeenAddedPopup.PNG [ 12964 ]
          Attachment DisablingDataSourcePopup.PNG [ 12965 ]
          mason Mason Meyer (Inactive) made changes -
          Description While testing issues relating to adding a data source I noticed that IGB sometimes generates a pop-up when there is a problem with the data source that is being added (see attachment). This pop-up explains that IGB is "Disabling the Data Source for the session".

          However, under the Data Sources tab within the Preferences widget I noticed that there are a list of Data Sources that have been added. If they are enabled, there is a checked box under the "Enabled column". If they are DISABLED then the checkbox is not checked.

          The problem is that when IGB generates the popup "Disabling for the session", this disabled data source does not get added to the data source list in Preferences. It should get added but the "Enabled checkbox" should just not be checked since the source is disabled.

          Since it is not added to the list, there is no way to edit, remove, or add the disabled data source. Trying to re-add the data source generates a popup stating "This data source has already been added" (see other attachment). The only way to add the data source again is to Reset IGB Preferences, unfortunately.

          While testing issues relating to adding a data source I noticed that IGB sometimes generates a pop-up when there is a problem with the data source that is being added (see attachment). This pop-up explains that IGB is "Disabling the Data Source for the session".

          However, under the Data Sources tab within the Preferences widget I noticed that there are a list of Data Sources that have been added. If they are enabled, there is a checked box under the "Enabled column". If they are DISABLED then the checkbox is not checked.

          The problem is that when IGB generates the popup "Disabling for the session", this disabled data source does not get added to the data source list in Preferences. It should get added but the "Enabled checkbox" should just not be checked since the source is disabled, but this does not happen.

          Since it is not added to the list, there is no way to edit, remove, or add the disabled data source. Trying to re-add the data source generates a popup stating "This data source has already been added" (see other attachment). The only way to add the data source again is to Reset IGB Preferences, unfortunately.

          mason Mason Meyer (Inactive) made changes -
          Attachment AlreadyBeenAddedPopup.PNG [ 12964 ]
          mason Mason Meyer (Inactive) made changes -
          Description While testing issues relating to adding a data source I noticed that IGB sometimes generates a pop-up when there is a problem with the data source that is being added (see attachment). This pop-up explains that IGB is "Disabling the Data Source for the session".

          However, under the Data Sources tab within the Preferences widget I noticed that there are a list of Data Sources that have been added. If they are enabled, there is a checked box under the "Enabled column". If they are DISABLED then the checkbox is not checked.

          The problem is that when IGB generates the popup "Disabling for the session", this disabled data source does not get added to the data source list in Preferences. It should get added but the "Enabled checkbox" should just not be checked since the source is disabled, but this does not happen.

          Since it is not added to the list, there is no way to edit, remove, or add the disabled data source. Trying to re-add the data source generates a popup stating "This data source has already been added" (see other attachment). The only way to add the data source again is to Reset IGB Preferences, unfortunately.

          While testing issues relating to adding a data source I noticed that IGB sometimes generates a pop-up when there is a problem with the data source that is being added (see attachment). This pop-up explains that IGB is "Disabling the Data Source for the session".

          However, under the Data Sources tab within the Preferences widget I noticed that there are a list of Data Sources that have been added. If they are enabled, there is a checked box under the "Enabled column". If they are DISABLED then the checkbox is not checked.

          The problem is that when IGB generates the popup "Disabling for the session", this disabled data source does not get added to the data source list in Preferences. It should get added but the "Enabled checkbox" should just not be checked since the source is disabled, but this does not happen.

          Since it is not added to the list, there is no way to edit, remove, or add the disabled data source. Trying to re-add the data source generates a popup stating "This data source has already been added" (see other attachment;exact URL has been hidden). The only way to add the data source again is to Reset IGB Preferences, unfortunately.

          mason Mason Meyer (Inactive) made changes -
          Attachment AlreadyBeenAddedPopup.PNG [ 12966 ]
          dcnorris David Norris (Inactive) made changes -
          Rank Ranked higher
          dcnorris David Norris (Inactive) made changes -
          Story Points 0.5
          dcnorris David Norris (Inactive) made changes -
          Sprint Sprint 13 [ 18 ]
          dcnorris David Norris (Inactive) made changes -
          Rank Ranked lower
          dcnorris David Norris (Inactive) made changes -
          Story Points 0.5 0.25
          dcnorris David Norris (Inactive) made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          dcnorris David Norris (Inactive) made changes -
          Assignee David Norris [ dcnorris ] Tarun Mall [ tmall ]
          dcnorris David Norris (Inactive) made changes -
          Sprint Sprint 13 [ 18 ]
          dcnorris David Norris (Inactive) made changes -
          Sprint Sprint 14 [ 19 ]
          dcnorris David Norris (Inactive) made changes -
          Rank Ranked higher
          tmall Tarun Mall (Inactive) made changes -
          Status In Progress [ 3 ] Pull Request Submitted [ 10101 ]
          ann.loraine Ann Loraine made changes -
          Rank Ranked lower
          ann.loraine Ann Loraine made changes -
          Epic Link IGBF-439 [ 15497 ]
          dcnorris David Norris (Inactive) made changes -
          Status Pull Request Submitted [ 10101 ] Needs Testing [ 10002 ]
          mason Mason Meyer (Inactive) made changes -
          Assignee Tarun Mall [ tmall ] Mason Meyer [ mason ]
          mason Mason Meyer (Inactive) made changes -
          Status Needs Testing [ 10002 ] Testing In Progress [ 10003 ]
          Hide
          mason Mason Meyer (Inactive) added a comment -

          It seems that the change that was made to the code was to actually close the authentication window when canceled or clicking on the "X" in the upper-right corner of the widget. I do like this change to the code but the issue explained in this story requires a different fix.

          If you enter an incorrect username or password at the authentication window then you will see the pop-up saying that the Quickload server is not responding and it is being disabled for the session. The disabled data source should still populate to the list of data sources but it does not---that is the real issue of this story. The data source gets added in the background but not to the list of data sources, because trying to add the source again causes a pop-up to arise saying that the data source has already been added. You can't remove this data source though or edit it because it is not selectable since it is not on the data sources list.

          Therefore, if a user accidentally enters the wrong username or password then they won't be able to go back and correct this unless they clear IGB preferences which causes IGB to close.

          But to clarify, the story doesn't actually relate to the authentication window at all; using the authentication window is just an easy way to force a data source to become "disabled". The real problem lies in the fact that an added data source does not get populated to the data sources list if it is disabled, even though it should be (just with no checkmark in the "enabled" checkbox).

          Before continuing with any further resolution you should discuss the story with David to see if this story is even worth working on because the whole data sources list may be refactored soon anyways.

          Show
          mason Mason Meyer (Inactive) added a comment - It seems that the change that was made to the code was to actually close the authentication window when canceled or clicking on the "X" in the upper-right corner of the widget. I do like this change to the code but the issue explained in this story requires a different fix. If you enter an incorrect username or password at the authentication window then you will see the pop-up saying that the Quickload server is not responding and it is being disabled for the session. The disabled data source should still populate to the list of data sources but it does not---that is the real issue of this story. The data source gets added in the background but not to the list of data sources, because trying to add the source again causes a pop-up to arise saying that the data source has already been added. You can't remove this data source though or edit it because it is not selectable since it is not on the data sources list. Therefore, if a user accidentally enters the wrong username or password then they won't be able to go back and correct this unless they clear IGB preferences which causes IGB to close. But to clarify, the story doesn't actually relate to the authentication window at all; using the authentication window is just an easy way to force a data source to become "disabled". The real problem lies in the fact that an added data source does not get populated to the data sources list if it is disabled, even though it should be (just with no checkmark in the "enabled" checkbox). Before continuing with any further resolution you should discuss the story with David to see if this story is even worth working on because the whole data sources list may be refactored soon anyways.
          mason Mason Meyer (Inactive) made changes -
          Assignee Mason Meyer [ mason ] Tarun Mall [ tmall ]
          mason Mason Meyer (Inactive) made changes -
          Status Testing In Progress [ 10003 ] Open [ 1 ]
          dcnorris David Norris (Inactive) made changes -
          Sprint Sprint 14 [ 19 ]
          dcnorris David Norris (Inactive) made changes -
          Sprint Sprint 15 [ 20 ]
          dcnorris David Norris (Inactive) made changes -
          Rank Ranked higher
          tmall Tarun Mall (Inactive) made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          tmall Tarun Mall (Inactive) made changes -
          Status In Progress [ 3 ] Open [ 1 ]
          tmall Tarun Mall (Inactive) made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          tmall Tarun Mall (Inactive) made changes -
          Status In Progress [ 3 ] Open [ 1 ]
          tmall Tarun Mall (Inactive) made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          tmall Tarun Mall (Inactive) made changes -
          Status In Progress [ 3 ] Pull Request Submitted [ 10101 ]
          dcnorris David Norris (Inactive) made changes -
          Status Pull Request Submitted [ 10101 ] Needs Testing [ 10002 ]
          mason Mason Meyer (Inactive) made changes -
          Status Needs Testing [ 10002 ] Testing In Progress [ 10003 ]
          mason Mason Meyer (Inactive) made changes -
          Assignee Tarun Mall [ tmall ] Mason Meyer [ mason ]
          Hide
          mason Mason Meyer (Inactive) added a comment -

          My testing verifies that this story has been resolved. Disabled data sources now populate to the Data Sources list in Preferences and there is no "enabled" check mark for disabled sources. Sources can be edited, deleted, and authenticated.

          Since this story is resolved it will now be closed.

          Show
          mason Mason Meyer (Inactive) added a comment - My testing verifies that this story has been resolved. Disabled data sources now populate to the Data Sources list in Preferences and there is no "enabled" check mark for disabled sources. Sources can be edited, deleted, and authenticated. Since this story is resolved it will now be closed.
          mason Mason Meyer (Inactive) made changes -
          Resolution Done [ 10000 ]
          Status Testing In Progress [ 10003 ] Closed [ 6 ]
          mason Mason Meyer (Inactive) made changes -
          Resolution Done [ 10000 ]
          Status Closed [ 6 ] Open [ 1 ]
          mason Mason Meyer (Inactive) made changes -
          Sprint Sprint 15 [ 20 ] Sprint 15, Sprint 16 [ 20, 21 ]
          mason Mason Meyer (Inactive) made changes -
          Rank Ranked higher
          Hide
          mason Mason Meyer (Inactive) added a comment -

          This issue was reopened because it seems that added data sources are not persisting in the "Data Sources" table within Preferences after closing an IGB session (when closing and reopening IGB).

          They added sources are still visible under "Available Data" on the Main Screen, however, they do not show up in the Data Sources table within preferences after closing an IGB session.

          Reassigning to Tarun so that necessary changes can be made.

          Show
          mason Mason Meyer (Inactive) added a comment - This issue was reopened because it seems that added data sources are not persisting in the "Data Sources" table within Preferences after closing an IGB session (when closing and reopening IGB). They added sources are still visible under "Available Data" on the Main Screen, however, they do not show up in the Data Sources table within preferences after closing an IGB session. Reassigning to Tarun so that necessary changes can be made.
          mason Mason Meyer (Inactive) made changes -
          Assignee Mason Meyer [ mason ] Tarun Mall [ tmall ]
          mason Mason Meyer (Inactive) made changes -
          Status Open [ 1 ] Open [ 1 ]
          mason Mason Meyer (Inactive) made changes -
          Rank Ranked higher
          mason Mason Meyer (Inactive) made changes -
          Rank Ranked higher
          tmall Tarun Mall (Inactive) made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          tmall Tarun Mall (Inactive) made changes -
          Status In Progress [ 3 ] Pull Request Submitted [ 10101 ]
          dcnorris David Norris (Inactive) made changes -
          Status Pull Request Submitted [ 10101 ] Needs Testing [ 10002 ]
          dcnorris David Norris (Inactive) made changes -
          Status Needs Testing [ 10002 ] In Progress [ 3 ]
          dcnorris David Norris (Inactive) made changes -
          Assignee Tarun Mall [ tmall ] David Norris [ dcnorris ]
          dcnorris David Norris (Inactive) made changes -
          Sprint Sprint 15, Sprint 16 [ 20, 21 ] Sprint 15 [ 20 ]
          dcnorris David Norris (Inactive) made changes -
          Sprint Sprint 15 [ 20 ] Sprint 15, Sprint 17 [ 20, 22 ]
          dcnorris David Norris (Inactive) made changes -
          Rank Ranked higher
          dcnorris David Norris (Inactive) made changes -
          Status In Progress [ 3 ] Pull Request Submitted [ 10101 ]
          mason Mason Meyer (Inactive) made changes -
          Sprint Sprint 15, Sprint 17 [ 20, 22 ] Sprint 15 [ 20 ]
          mason Mason Meyer (Inactive) made changes -
          Sprint Sprint 15 [ 20 ] Sprint 15, Sprint 18 [ 20, 23 ]
          mason Mason Meyer (Inactive) made changes -
          Rank Ranked higher
          dcnorris David Norris (Inactive) made changes -
          Status Pull Request Submitted [ 10101 ] Needs Testing [ 10002 ]
          dcnorris David Norris (Inactive) made changes -
          Sprint Sprint 15, Sprint 18 [ 20, 23 ] Sprint 15 [ 20 ]
          dcnorris David Norris (Inactive) made changes -
          Sprint Sprint 15 [ 20 ] Sprint 15, Sprint 19 [ 20, 24 ]
          dcnorris David Norris (Inactive) made changes -
          Rank Ranked higher
          dcnorris David Norris (Inactive) made changes -
          Rank Ranked lower
          mason Mason Meyer (Inactive) made changes -
          Status Needs Testing [ 10002 ] Testing In Progress [ 10003 ]
          mason Mason Meyer (Inactive) made changes -
          Assignee David Norris [ dcnorris ] Mason Meyer [ mason ]
          mason Mason Meyer (Inactive) made changes -
          Status Testing In Progress [ 10003 ] Needs Testing [ 10002 ]
          mason Mason Meyer (Inactive) made changes -
          Status Needs Testing [ 10002 ] Testing In Progress [ 10003 ]
          Hide
          mason Mason Meyer (Inactive) added a comment -

          My testing verifies that all changes to this story have been made as expected and disabled data sources are now being handles as expected. Since this story is resolved it will now be closed.

          Show
          mason Mason Meyer (Inactive) added a comment - My testing verifies that all changes to this story have been made as expected and disabled data sources are now being handles as expected. Since this story is resolved it will now be closed.
          mason Mason Meyer (Inactive) made changes -
          Resolution Done [ 10000 ]
          Status Testing In Progress [ 10003 ] Closed [ 6 ]
          ann.loraine Ann Loraine made changes -
          Workflow Loraine Lab Workflow [ 15629 ] Fall 2019 Workflow Update [ 19332 ]
          ann.loraine Ann Loraine made changes -
          Workflow Fall 2019 Workflow Update [ 19332 ] Revised Fall 2019 Workflow Update [ 21449 ]

            People

            • Assignee:
              mason Mason Meyer (Inactive)
              Reporter:
              mason Mason Meyer (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: