Skip to content

Getting resource#one does not work, no errors. #617

@danielbatch

Description

@danielbatch

Describe the bug
Though tried to get one resource from list page, it did not work and redirected to list page.
It threw no errors.


To Reproducene
Steps to reproduce the behavior:

  1. Go to resource#list page. And showed resources as I expected.
  2. Click on resource#show by path parameter and submit.

resource_one

  1. The api returns data as I expected. I confirmed this response in developer tool and server log.
{
  id: 1,
  price: 100,
  url: "https://example.com"
}
  1. Did not move to resource#one page, instead redirected to resource#list page.

Expected behavior
After clicking submit button on modal of resource#list to find resource, move to resource#one page, not redirected to list page.


Additional context

  • Mac OS Big Sur 11.5.2
  • google chrome

My resource definition is this.

    Resource:
      type: object
      properties:
        id:
          description: ID
          type: string
        price: 
          description: 価格
          type: number
        url:
          description: URL
          type: string
          format: uri
      required:
        - id
        - price
        - url

Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions