-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
BugA problem or regression with an existing featureA problem or regression with an existing featurehas-prAn issue that has a pull request pending that may fix this issue. The pull request may be incompleteAn issue that has a pull request pending that may fix this issue. The pull request may be incomplete
Milestone
Description
Describe the bug
On designer export to Svg
Fatal error: Uncaught TypeError: XMLWriter::writeAttribute(): Argument #2 ($value) must be of type string, float given in
libraries/classes/Plugins/Schema/Svg/Svg.php:291 Stack trace: #0
libraries/classes/Plugins/Schema/Svg/Svg.php(291): XMLWriter->writeAttribute('x1', 257) #1
libraries/classes/Plugins/Schema/Svg/RelationStatsSvg.php(87): PhpMyAdmin\Plugins\Schema\Svg\Svg->printElementLine('line', 257, 330, 267, 330, 'stroke:#cb0;str...') #2
libraries/classes/Plugins/Schema/Svg/SvgRelationSchema.php(271): PhpMyAdmin\Plugins\Schema\Svg\RelationStatsSvg->relationDraw(true) #3
libraries/classes/Plugins/Schema/Svg/SvgRelationSchema.php(165): PhpMyAdmin\Plugins\Schema\Svg\SvgRelationSchema->drawRelations() #4
libraries/classes/Plugins/Schema/SchemaSvg.php(75): PhpMyAdmin\Plugins\Schema\Svg\SvgRelationSchema->__construct('wdesmenu') #5
libraries/classes/Export.php(1352): PhpMyAdmin\Plugins\Schema\SchemaSvg->exportSchema('wdesmenu') #6
libraries/classes/Controllers/SchemaExportController.php(50): PhpMyAdmin\Export->processExportSchema('svg') #7
libraries/classes/Routing.php(186): PhpMyAdmin\Controllers\SchemaExportController->index(Array) #8
index.php(18): PhpMyAdmin\Routing::callControllerForRoute('/schema-export', Object(FastRoute\Dispatcher\GroupCountBased), Object(Symfony\Component\DependencyInjection\ContainerBuilder)) #9 {main} thrown in
libraries/classes/Plugins/Schema/Svg/Svg.php on line 291
Server configuration
- phpMyAdmin version: 5.1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugA problem or regression with an existing featureA problem or regression with an existing featurehas-prAn issue that has a pull request pending that may fix this issue. The pull request may be incompleteAn issue that has a pull request pending that may fix this issue. The pull request may be incomplete