Skip to content

"Show all X" shows nothing #48

@Sparrow1029

Description

@Sparrow1029

Not sure if this is the right place to post this issue, or if orchestrator-ui-library would be better...

  • example-orchestrator-ui version: 1.30.2
  • orchestrator-core version: 2.7.0rc3

When using the v2 UI and viewing the metadata page, subscription page, etc, setting the dropdown for number of rows to show to "Show all <...>" results in no rows being displayed.

Selecting any other number of rows works correctly

Screenshot of "Show 10 rows" Screenshot 2024-08-01 at 10 06 08 AM

"Show all" does not seem to work.

Screenshot of "show all rows" Screenshot 2024-08-01 at 10 06 55 AM

The log snippet below results from switching the selected amount of rows in the dropdown. They are from the backend, since the dev console in browser & frontend logs don't show anything relevant, as far as I can tell.

Logs
2024-08-01 16:11:17 [debug    ] resolve_resource_types() called [orchestrator.graphql.resolvers.resource_type] filter=[] range=[0, 10] sort=[GraphqlSort(field='resourceType', order=<SortOrder.ASC: 'asc'>)]
2024-08-01 16:11:17 [debug    ] Generated query loaders        [orchestrator.graphql.utils.get_query_loaders] query_loaders=['ORM Path[Mapper[ResourceTypeTable(resource_types)] -> ResourceTypeTable.product_blocks -> Mapper[ProductBlockTable(product_blocks)]]'] query_paths=['product_blocks.description', 'product_blocks.name', 'product_blocks.product_block_id', 'product_blocks.status', 'product_blocks.created_at', 'product_blocks.end_date', 'page_info.end_cursor', 'page_info.has_next_page', 'page_info.has_previous_page', 'page_info.start_cursor', 'page_info.total_items', 'page_info.sort_fields', 'page_info.filter_fields', 'resource_type_id', 'resource_type', 'description'] root_model=<class 'orchestrator.db.models.ResourceTypeTable'>
2024-08-01 16:11:17 [info     ] 192.168.128.1:40280 - "POST /api/graphql HTTP/1.1" 200 [uvicorn.access]
2024-08-01 16:11:18 [debug    ] Authentication disabled        [oauth2_lib.strawberry] OAUTH2_ACTIVE=False OAUTH2_AUTHORIZATION_ACTIVE=False
2024-08-01 16:11:18 [debug    ] Authorization disabled         [oauth2_lib.strawberry] OAUTH2_ACTIVE=False OAUTH2_AUTHORIZATION_ACTIVE=False
2024-08-01 16:11:18 [debug    ] resolve_resource_types() called [orchestrator.graphql.resolvers.resource_type] filter=[] range=[0, 10] sort=[GraphqlSort(field='resourceType', order=<SortOrder.ASC: 'asc'>)]
2024-08-01 16:11:18 [debug    ] Generated query loaders        [orchestrator.graphql.utils.get_query_loaders] query_loaders=['ORM Path[Mapper[ResourceTypeTable(resource_types)] -> ResourceTypeTable.product_blocks -> Mapper[ProductBlockTable(product_blocks)]]'] query_paths=['product_blocks.description', 'product_blocks.name', 'product_blocks.product_block_id', 'product_blocks.status', 'product_blocks.created_at', 'product_blocks.end_date', 'page_info.end_cursor', 'page_info.has_next_page', 'page_info.has_previous_page', 'page_info.start_cursor', 'page_info.total_items', 'page_info.sort_fields', 'page_info.filter_fields', 'resource_type_id', 'resource_type', 'description'] root_model=<class 'orchestrator.db.models.ResourceTypeTable'>
2024-08-01 16:11:18 [debug    ] Authentication disabled        [oauth2_lib.strawberry] OAUTH2_ACTIVE=False OAUTH2_AUTHORIZATION_ACTIVE=False
2024-08-01 16:11:18 [debug    ] Authorization disabled         [oauth2_lib.strawberry] OAUTH2_ACTIVE=False OAUTH2_AUTHORIZATION_ACTIVE=False
2024-08-01 16:11:18 [debug    ] resolve_workflows() called     [orchestrator.graphql.resolvers.workflow] filter=[Filter(field='target', value='create')] range=[0, 1000000] sort=None
2024-08-01 16:11:18 [debug    ] Generated query loaders        [orchestrator.graphql.utils.get_query_loaders] query_loaders=['ORM Path[Mapper[WorkflowTable(workflows)] -> WorkflowTable.products -> Mapper[ProductTable(products)]]'] query_paths=['products.product_type', 'products.product_id', 'products.name', 'name'] root_model=<class 'orchestrator.db.models.WorkflowTable'>
2024-08-01 16:11:18 [info     ] 192.168.128.1:40296 - "POST /api/graphql HTTP/1.1" 200 [uvicorn.access]
2024-08-01 16:11:18 [info     ] 192.168.128.1:40306 - "POST /api/graphql HTTP/1.1" 200 [uvicorn.access]
2024-08-01 16:11:18 [info     ] 192.168.128.1:40280 - "GET /api/processes/status-counts HTTP/1.1" 200 [uvicorn.access]
2024-08-01 16:11:18 [info     ] 192.168.128.1:40312 - "GET /api/translations/en-GB HTTP/1.1" 200 [uvicorn.access]
2024-08-01 16:11:18 [info     ] 192.168.128.1:40298 - "GET /api/settings/status HTTP/1.1" 200 [uvicorn.access]
2024-08-01 16:11:20 [debug    ] Authentication disabled        [oauth2_lib.strawberry] OAUTH2_ACTIVE=False OAUTH2_AUTHORIZATION_ACTIVE=False
2024-08-01 16:11:20 [debug    ] Authorization disabled         [oauth2_lib.strawberry] OAUTH2_ACTIVE=False OAUTH2_AUTHORIZATION_ACTIVE=False
2024-08-01 16:11:20 [debug    ] resolve_resource_types() called [orchestrator.graphql.resolvers.resource_type] filter=[] range=[0, 0] sort=[GraphqlSort(field='resourceType', order=<SortOrder.ASC: 'asc'>)]
2024-08-01 16:11:20 [debug    ] Generated query loaders        [orchestrator.graphql.utils.get_query_loaders] query_loaders=['ORM Path[Mapper[ResourceTypeTable(resource_types)] -> ResourceTypeTable.product_blocks -> Mapper[ProductBlockTable(product_blocks)]]'] query_paths=['product_blocks.description', 'product_blocks.name', 'product_blocks.product_block_id', 'product_blocks.status', 'product_blocks.created_at', 'product_blocks.end_date', 'page_info.end_cursor', 'page_info.has_next_page', 'page_info.has_previous_page', 'page_info.start_cursor', 'page_info.total_items', 'page_info.sort_fields', 'page_info.filter_fields', 'resource_type_id', 'resource_type', 'description'] root_model=<class 'orchestrator.db.models.ResourceTypeTable'>
2024-08-01 16:11:20 [info     ] 192.168.128.1:40312 - "POST /api/graphql HTTP/1.1" 200 [uvicorn.access]
2024-08-01 16:11:21 [info     ] 192.168.128.14:47482 - "GET /api/products HTTP/1.1" 307 [uvicorn.access]
2024-08-01 16:11:21 [info     ] 192.168.128.14:47482 - "GET /api/products/ HTTP/1.1" 200 [uvicorn.access]
2024-08-01 16:11:22 [debug    ] Authentication disabled        [oauth2_lib.strawberry] OAUTH2_ACTIVE=False OAUTH2_AUTHORIZATION_ACTIVE=False
2024-08-01 16:11:22 [debug    ] Authorization disabled         [oauth2_lib.strawberry] OAUTH2_ACTIVE=False OAUTH2_AUTHORIZATION_ACTIVE=False
2024-08-01 16:11:22 [debug    ] resolve_resource_types() called [orchestrator.graphql.resolvers.resource_type] filter=[] range=[0, 0] sort=[GraphqlSort(field='resourceType', order=<SortOrder.ASC: 'asc'>)]
2024-08-01 16:11:22 [debug    ] Generated query loaders        [orchestrator.graphql.utils.get_query_loaders] query_loaders=['ORM Path[Mapper[ResourceTypeTable(resource_types)] -> ResourceTypeTable.product_blocks -> Mapper[ProductBlockTable(product_blocks)]]'] query_paths=['product_blocks.description', 'product_blocks.name', 'product_blocks.product_block_id', 'product_blocks.status', 'product_blocks.created_at', 'product_blocks.end_date', 'page_info.end_cursor', 'page_info.has_next_page', 'page_info.has_previous_page', 'page_info.start_cursor', 'page_info.total_items', 'page_info.sort_fields', 'page_info.filter_fields', 'resource_type_id', 'resource_type', 'description'] root_model=<class 'orchestrator.db.models.ResourceTypeTable'>
2024-08-01 16:11:22 [info     ] 192.168.128.1:40280 - "POST /api/graphql HTTP/1.1" 200 [uvicorn.access]
2024-08-01 16:11:22 [debug    ] Authentication disabled        [oauth2_lib.strawberry] OAUTH2_ACTIVE=False OAUTH2_AUTHORIZATION_ACTIVE=False
2024-08-01 16:11:22 [debug    ] Authorization disabled         [oauth2_lib.strawberry] OAUTH2_ACTIVE=False OAUTH2_AUTHORIZATION_ACTIVE=False
2024-08-01 16:11:22 [debug    ] resolve_workflows() called     [orchestrator.graphql.resolvers.workflow] filter=[Filter(field='target', value='create')] range=[0, 1000000] sort=None
2024-08-01 16:11:22 [debug    ] Generated query loaders        [orchestrator.graphql.utils.get_query_loaders] query_loaders=['ORM Path[Mapper[WorkflowTable(workflows)] -> WorkflowTable.products -> Mapper[ProductTable(products)]]'] query_paths=['products.product_type', 'products.product_id', 'products.name', 'name'] root_model=<class 'orchestrator.db.models.WorkflowTable'>
2024-08-01 16:11:22 [info     ] 192.168.128.1:40312 - "GET /api/settings/status HTTP/1.1" 200 [uvicorn.access]
2024-08-01 16:11:22 [info     ] 192.168.128.1:40296 - "GET /api/processes/status-counts HTTP/1.1" 200 [uvicorn.access]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions