Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notice or warning, when clicking on Structure #16770

Closed
liviuconcioiu opened this issue Mar 27, 2021 · 2 comments
Closed

Notice or warning, when clicking on Structure #16770

liviuconcioiu opened this issue Mar 27, 2021 · 2 comments
Assignees
Labels
Bug A problem or regression with an existing feature
Projects
Milestone

Comments

@liviuconcioiu
Copy link
Contributor

liviuconcioiu commented Mar 27, 2021

Describe the bug

A notice or warning is given, when you try to insert 1000 rows manually, from Insert tab. On the https://demo.phpmyadmin.net/ a notice is given (500 rows). The same version on local, gives a warning (1000 rows).

To Reproduce

Steps to reproduce the behavior:

  1. Go to Insert
  2. Scroll down to Continue insertion with
  3. Enter 500 or 1000 rows
  4. Click on Go
  5. Click on Go again.
  6. If no notice is given, click on Structure tab. A warning is given.
  7. See error

Screenshots

error1
error2

Server configuration

  • Operating system: Windows
  • Web server: nginx/1.19.8
  • Database version: 5.7.32
  • PHP version: 8.0.3
  • phpMyAdmin version: 5.2.0-dev+20210326.fe41637a0d

Client configuration

  • Browser: Firefox
  • Operating system: Windows

Additional context

Notice in ./libraries/classes/InsertEdit.php#2439
Undefined index: submit_type

Backtrace

ReplaceController.php#472: PhpMyAdmin\InsertEdit->executeSqlQuery(
array,
array,
)
Routing.php#189: PhpMyAdmin\Controllers\Table\ReplaceController->index(array)
index.php#18: PhpMyAdmin\Routing::callControllerForRoute(
string '/table/replace',
,
,
)
@williamdes williamdes self-assigned this Mar 30, 2021
@williamdes williamdes added the Bug A problem or regression with an existing feature label Mar 30, 2021
@williamdes williamdes added this to Needs triage in issues via automation Mar 30, 2021
@williamdes williamdes added this to the 5.1.1 milestone Mar 30, 2021
@williamdes williamdes moved this from Needs triage to to be fixed soon in issues Mar 30, 2021
@williamdes williamdes modified the milestone: 5.1.1 Mar 30, 2021
@williamdes
Copy link
Member

Param Value
Error Type Notice
Error Message Undefined index: submit_type
Exception Type php
phpMyAdmin version 4.3.11.1
Incident count 474
Link Report#7716

This comment is posted automatically by phpMyAdmin's error-reporting-server.

@williamdes
Copy link
Member

Hi @liviuconcioiu
Actually I was not able to reproduce it on 5.1 versions but I fixed it anyway.
It seems like this notice/warning is quite old, thank you for reporting it !

williamdes added a commit that referenced this issue Mar 30, 2021
Signed-off-by: William Desportes <williamdes@wdes.fr>
issues automation moved this from to be fixed soon to Closed Mar 31, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A problem or regression with an existing feature
Projects
issues
  
Closed
Development

No branches or pull requests

2 participants