You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've created a table on https://demo.phpmyadmin.net/master-config/. Then I tried to add 3 columns to the same table and I received a notice and a warning. Unfortunately I couldn't reproduce the bug.
Expected behavior
The notice and warning should not be given and the new columns should be created.
Screenshots
Client configuration
Browser: Firefox
Operating system: Windows
Additional context
Notice in ./libraries/classes/Controllers/Table/StructureController.php#1113
Undefined index: field_name
Backtrace
StructureController.php#184: PhpMyAdmin\Controllers\Table\StructureController->updateColumns()
Routing.php#189: PhpMyAdmin\Controllers\Table\StructureController->save(array)
index.php#18: PhpMyAdmin\Routing::callControllerForRoute(
string '/table/structure/save',
,
,
)
Warning in ./libraries/classes/Controllers/Table/StructureController.php#1113
count(): Parameter must be an array or an object that implements Countable
Backtrace
StructureController.php#184: PhpMyAdmin\Controllers\Table\StructureController->updateColumns()
Routing.php#189: PhpMyAdmin\Controllers\Table\StructureController->save(array)
index.php#18: PhpMyAdmin\Routing::callControllerForRoute(
string '/table/structure/save',
,
,
)
The text was updated successfully, but these errors were encountered:
Hi @liviuconcioiu
I was unable to reproduce this
Could you give more details on how to reproduce this ?
I checked the code and it can create this warning but that would require to find a way to send an incomplete form
williamdes
added
the
question
Used when we need feedback from the submitter or when the issue is a question about PMA
label
Apr 12, 2021
williamdes
added
Bug
A problem or regression with an existing feature
and removed
question
Used when we need feedback from the submitter or when the issue is a question about PMA
labels
Apr 12, 2021
Describe the bug
I've created a table on https://demo.phpmyadmin.net/master-config/. Then I tried to add 3 columns to the same table and I received a notice and a warning. Unfortunately I couldn't reproduce the bug.
Expected behavior
The notice and warning should not be given and the new columns should be created.
Screenshots
Client configuration
Additional context
The text was updated successfully, but these errors were encountered: