[
https://issues.apache.org/jira/browse/NIFI-6160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16825493#comment-16825493
]
ASF subversion and git services commented on NIFI-6160:
-------------------------------------------------------
Commit 31463c5dad38be0dcb5f8872c4b423f1f01cc786 in nifi's branch
refs/heads/master from Koji Kawamura
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=31463c5 ]
NIFI-6160 Apply config error handling convention
What this PR changed:
- Standardized required name error message to 'The name of the xxxx must
be specified'
- Added nfErrorHandler.handleConfigurationUpdateAjaxError
- Replaced existing custom error handling for 400 status code
- Replaced handleAjxError with this where appropriate
- Standardized config error dialog title to 'Configuration Error'
- Close the configuration dialog when configuration is successfully
updated
Above convention applied to following components:
- ProcessGroup
- Input/OutputPort
- RemoteProcessGroup
- RemoteGroupPort
- Template
- Connection
- ControllerService
- Label
- Processor
- ReportingTask
- NiFi Settings/GENERAL tab
- Variable
- User
NIFI-6170 Provide consistent UX at Connection config
Fixed Label.
Incorporated review comments
Removed unnecessary else block.
Disable canvas when the message pane is shown
This closes #3401
> During process group creation, if no name is provided, improve error pop-up
> and do not close creation window
> ------------------------------------------------------------------------------------------------------------
>
> Key: NIFI-6160
> URL: https://issues.apache.org/jira/browse/NIFI-6160
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core UI
> Reporter: Andrew Lim
> Assignee: Koji Kawamura
> Priority: Minor
> Time Spent: 2h 50m
> Remaining Estimate: 0h
>
> When creating a Process group and providing no name, a pop-up appears with
> the title "Create Process Group" with the message "The group name is
> required." Selecting OK returns the user to the canvas. User has to drag a
> PG again onto the canvas to resume the process.
> It should be more like RPG creation. During RPG creation, if no name is
> provided a pop-up with the title "Configuration Error" is shown with the
> message "The URI of the process group must be specified." Selecting OK
> returns the user to the Add Remote Process Group window. This is a good UX.
> So applying this to process group creation. If no name is supplied:
> * open a pop-up with the title "Configuration Error"
> * the message should say "The name of the process group must be specified."
> * Selecting OK returns the user to the "Add Process Group" window
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)