Johannes Schillinger created ZEPPELIN-6035:
----------------------------------------------
Summary: Updating Cron settings is broken in 0.11
Key: ZEPPELIN-6035
URL: https://issues.apache.org/jira/browse/ZEPPELIN-6035
Project: Zeppelin
Issue Type: Bug
Components: zeppelin-server
Affects Versions: 0.11.1
Reporter: Johannes Schillinger
When trying to change or set the cron settings for any notebook, the server
will show the error
java.lang.String cannot be cast to java.util.Set
The underlying error is, that the frontend sends the roles as an escaped String
but the
NotebookService::updateNote Method expects a JSON Array in Line 902:
{code:java}
Set<String> requestCronRoles = (Set<String>)
config.get("cronExecutingRoles");
{code}
As a result the update will error.
This is a regression as 0.10 did not show this errornous behaviour
--
This message was sent by Atlassian Jira
(v8.20.10#820010)