Created on 28 May 2024, 8 months ago
Updated 18 September 2024, 4 months ago

Problem/Motivation

Related to 📌 Port the Flexbox element to GraphQL 4 Fixed

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Fixed

Version

2.0

Component

Code

Created by

🇨🇭Switzerland Lukas von Blarer

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @Lukas von Blarer
  • 🇨🇭Switzerland Lukas von Blarer

    I took a look at this. I think it is almost done, but somehow there is something missing. I get this error when visiting the explorer:

    GraphQL\Error\Error: Type "WebformElementWebformFieldset" not found in document. in GraphQL\Utils\BuildSchema::GraphQL\Utils\{closure}() (line 149 of /app/vendor/webonyx/graphql-php/src/Utils/BuildSchema.php).
    
    GraphQL\Utils\ASTDefinitionBuilder->internalBuildType() (Line: 190)
    GraphQL\Utils\ASTDefinitionBuilder->buildType() (Line: 193)
    GraphQL\Utils\BuildSchema::GraphQL\Utils\{closure}() (Line: 350)
    GraphQL\Type\Schema->loadType() (Line: 326)
    GraphQL\Type\Schema->getType() (Line: 548)
    GraphQL\Utils\SchemaExtender::extend() (Line: 356)
    Drupal\graphql_core_schema\Plugin\GraphQL\Schema\CoreComposableSchema->getFullSchemaDocumentOverride() (Line: 314)
    Drupal\graphql_core_schema\Plugin\GraphQL\Schema\CoreComposableSchema->getSchema() (Line: 253)
    Drupal\graphql\Entity\Server->configuration() (Line: 199)
    Drupal\graphql\Entity\Server->executeOperation() (Line: 27)
    Drupal\graphql\GraphQL\Utility\Introspection->introspect() (Line: 87)
    Drupal\graphql\Controller\ExplorerController->viewExplorer()
    call_user_func_array() (Line: 123)
    Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 627)
    Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 121)
    Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
    Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181)
    Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76)
    Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58)
    Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
    Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28)
    Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 32)
    Drupal\big_pipe\StackMiddleware\ContentLength->handle() (Line: 106)
    Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85)
    Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
    Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
    Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 36)
    Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51)
    Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 704)
    Drupal\Core\DrupalKernel->handle() (Line: 19)
    
  • Merge request !35Expose the Fieldset element → (Merged) created by Lukas von Blarer
  • Status changed to Needs work 8 months ago
  • Pipeline finished with Failed
    8 months ago
    Total: 208s
    #183951
  • Status changed to Needs review 8 months ago
  • 🇨🇭Switzerland Lukas von Blarer

    Ok, found the issue. I chose the wrong name in the schema.

    The fieldsets are being exposed properly for me.

  • Pipeline finished with Failed
    8 months ago
    Total: 217s
    #183971
  • First commit to issue fork.
  • 🇧🇬Bulgaria pfrenssen Sofia

    Thanks a lot for this. I updated the MR to account for the removal of the metadata subfield (ref. ✨ Remove Metadata subfields Fixed ) and fixed the test coverage.

  • Pipeline finished with Skipped
    4 months ago
    #286378
  • Status changed to Fixed 4 months ago
  • 🇧🇬Bulgaria pfrenssen Sofia
  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024