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

Pavel Konstantinov updated IGNITE-7757:
---------------------------------------
    Description: 
1. try to start a new cache with non-existing data region 
{code}
localhost:8080/ignite?cmd=getorcreate&cacheName=cache1&dataRegion=0000
{code}
You will get correct error message
{code}
"Failed to handle request: [req=GET_OR_CREATE_CACHE, err=Requested DataRegion 
is not configured: 0000]"
{code}

2. then edit your request and make it correct and try again
{code}
localhost:8080/ignite?cmd=getorcreate&cacheName=cache1
{code}
You will get the same error message
{code}
"Failed to handle request: [req=GET_OR_CREATE_CACHE, err=Requested DataRegion 
is not configured: 0000]"
{code}

  was:
# try to start a new cache with non-existing data region 
{code}
localhost:8080/ignite?cmd=getorcreate&cacheName=cache1&dataRegion=0000
{code}
You will get correct error message
{code}
"Failed to handle request: [req=GET_OR_CREATE_CACHE, err=Requested DataRegion 
is not configured: 0000]"
{code}

# then edit your request and make it correct and try again
{code}
localhost:8080/ignite?cmd=getorcreate&cacheName=cache1
{code}
You will get the same error message
{code}
"Failed to handle request: [req=GET_OR_CREATE_CACHE, err=Requested DataRegion 
is not configured: 0000]"
{code}


> Unable to create a new cache via REST
> -------------------------------------
>
>                 Key: IGNITE-7757
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7757
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Pavel Konstantinov
>            Priority: Major
>
> 1. try to start a new cache with non-existing data region 
> {code}
> localhost:8080/ignite?cmd=getorcreate&cacheName=cache1&dataRegion=0000
> {code}
> You will get correct error message
> {code}
> "Failed to handle request: [req=GET_OR_CREATE_CACHE, err=Requested DataRegion 
> is not configured: 0000]"
> {code}
> 2. then edit your request and make it correct and try again
> {code}
> localhost:8080/ignite?cmd=getorcreate&cacheName=cache1
> {code}
> You will get the same error message
> {code}
> "Failed to handle request: [req=GET_OR_CREATE_CACHE, err=Requested DataRegion 
> is not configured: 0000]"
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to