[ 
https://issues.apache.org/jira/browse/NIFI-3417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andy LoPresto updated NIFI-3417:
--------------------------------
    Description: 
As reported on the mailing list, a user encountered an issue trying to delete 
what appeared to be an empty process group because it contained template 
definitions. 

I propose that the error dialog should allow for (2 - 4) options to resolve 
this issue:

# Delete this process group and any contained templates (if the process group 
is empty, the template definitions are now irrelevant anyway)
# Cancel (current option)

Other possibilities:

# Delete and move all template definitions to the parent process group (this 
could cause broken connections/lost definitions)
# Delete and export all template definitions to XML (again, not sure this would 
be of any value as the components and connections no longer exist)

This probably needs some discussion, especially if [~mcgilman] can weigh in. 

[Link to mailing list 
thread|https://lists.apache.org/thread.html/10ad2b010bfd4a24e67ca1ad606247a359ce5b47f7db95c03c98cd4d@%3Cusers.nifi.apache.org%3E]

  was:
As reported on the mailing list, a user encountered an issue trying to delete 
what appeared to be an empty process group because it contained template 
definitions. 

I propose that the error dialog should allow for (2 or 3) options to resolve 
this issue:

1. Delete this process group and any contained templates (if the process group 
is empty, the template definitions are now irrelevant anyway)
1. Cancel (current option)

Other possibilities:

1. Delete and move all template definitions to the parent process group (this 
could cause broken connections/lost definitions)
1. Delete and export all template definitions to XML (again, not sure this 
would be of any value as the components and connections no longer exist)

This probably needs some discussion, especially if [~mcgilman] can weigh in. 

[Link to mailing list 
thread|https://lists.apache.org/thread.html/10ad2b010bfd4a24e67ca1ad606247a359ce5b47f7db95c03c98cd4d@%3Cusers.nifi.apache.org%3E]


> Allow users to delete process groups containing template definitions
> --------------------------------------------------------------------
>
>                 Key: NIFI-3417
>                 URL: https://issues.apache.org/jira/browse/NIFI-3417
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>    Affects Versions: 1.1.1
>            Reporter: Andy LoPresto
>            Priority: Minor
>              Labels: process-group, template
>
> As reported on the mailing list, a user encountered an issue trying to delete 
> what appeared to be an empty process group because it contained template 
> definitions. 
> I propose that the error dialog should allow for (2 - 4) options to resolve 
> this issue:
> # Delete this process group and any contained templates (if the process group 
> is empty, the template definitions are now irrelevant anyway)
> # Cancel (current option)
> Other possibilities:
> # Delete and move all template definitions to the parent process group (this 
> could cause broken connections/lost definitions)
> # Delete and export all template definitions to XML (again, not sure this 
> would be of any value as the components and connections no longer exist)
> This probably needs some discussion, especially if [~mcgilman] can weigh in. 
> [Link to mailing list 
> thread|https://lists.apache.org/thread.html/10ad2b010bfd4a24e67ca1ad606247a359ce5b47f7db95c03c98cd4d@%3Cusers.nifi.apache.org%3E]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to