[
https://issues.apache.org/jira/browse/NIFI-3762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15991368#comment-15991368
]
ASF GitHub Bot commented on NIFI-3762:
--------------------------------------
GitHub user mcgilman opened a pull request:
https://github.com/apache/nifi/pull/1725
NIFI-3762: Fixing JS errors when referencing services are out of scope
NIFI-3762:
- Addressing issue when enabling/disabling controller services when
referencing services are not in scope.
- Fixing enabled/disabled icons for referencing services.
- Rendering when a reference cycle is detected.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mcgilman/nifi NIFI-3762
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/1725.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1725
----
commit a5c84a8689868132a8999529637b57315bd50376
Author: Matt Gilman <[email protected]>
Date: 2017-05-01T19:32:46Z
NIFI-3762:
- Addressing issue when enabling/disabling controller services when
referencing services are not in scope.
- Fixing enabled/disabled icons for referencing services.
- Rendering when a reference cycle is detected.
----
> Unable to disable Controller Service in UI
> ------------------------------------------
>
> Key: NIFI-3762
> URL: https://issues.apache.org/jira/browse/NIFI-3762
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core UI
> Reporter: Mark Payne
> Assignee: Matt Gilman
> Priority: Blocker
> Fix For: 1.2.0
>
>
> I have a Processor configured to use a few controller services (A Record
> Reader and Record Writer). Each of those services is dependent on the
> AvroSchemaRegistry service. All are defined on the root group.
> The Processor is within a sub-group. If I go to disable the Record Reader or
> Record Writer, all works as expected. However, if I attempt to disable the
> AvroSchemaRegistry controller service, UI shows that it is "Stopping
> Referencing Processors and Reporting Tasks" and then the spinner spins
> indefinitely. Chrome developer tools shows the following error:
> {code}
> nf-canvas-all.js?1.2.0-SNAPSHOT:49 Uncaught TypeError: Cannot read property
> 'component' of undefined
> at s (nf-canvas-all.js?1.2.0-SNAPSHOT:49)
> at v (nf-canvas-all.js?1.2.0-SNAPSHOT:49)
> at y.<anonymous> (nf-canvas-all.js?1.2.0-SNAPSHOT:49)
> at y.forEach (d3.min.js:3)
> at Object.<anonymous> (nf-canvas-all.js?1.2.0-SNAPSHOT:49)
> at i (jquery.min.js:2)
> at Object.fireWith [as resolveWith] (jquery.min.js:2)
> at A (jquery.min.js:4)
> at XMLHttpRequest.<anonymous> (jquery.min.js:4)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)