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

Warning popup not Dissapearing #15717

Closed
yashrajbothra opened this issue Dec 28, 2019 · 6 comments
Closed

Warning popup not Dissapearing #15717

yashrajbothra opened this issue Dec 28, 2019 · 6 comments
Assignees
Labels
Bug A problem or regression with an existing feature has-pr An issue that has a pull request pending that may fix this issue. The pull request may be incomplete
Projects
Milestone

Comments

@yashrajbothra
Copy link
Contributor

Describe the bug

In structure of any table when performing any multiple column action it pops a loader with error message: "No Column selected" and loader never dissapear

To Reproduce

Steps to reproduce the behavior:

  1. Select any Database->Table
  2. Click on 'Structure' tab
  3. Click on any action of Mulitple columns (dont select any column)
  4. See error

Expected behavior

The popup should dissapear after few seconds and there should not be any loading animation

Screenshots

issue

Server configuration

  • Operating system: Windows
  • Web server: Apache
  • Database version: 10.1.35-MariaDB
  • PHP version: 7.2.9
  • phpMyAdmin version: 5.1.0-dev

Client configuration

  • Browser: Chrome
  • Operating system: Windows
victorphoenix3 added a commit to victorphoenix3/phpmyadmin that referenced this issue Dec 29, 2019
Signed-off-by: Jayati Shrivastava <gaurijove@gmail.com>
@williamdes williamdes added the Bug A problem or regression with an existing feature label Dec 29, 2019
@williamdes williamdes added this to Needs triage in issues via automation Dec 29, 2019
@williamdes williamdes moved this from Needs triage to to be fixed soon in issues Dec 29, 2019
@williamdes williamdes added the has-pr An issue that has a pull request pending that may fix this issue. The pull request may be incomplete label Dec 29, 2019
@williamdes williamdes modified the milestones: 5.1.0, 5.0.1 Dec 29, 2019
@williamdes williamdes self-assigned this Jan 2, 2020
williamdes added a commit that referenced this issue Jan 2, 2020
Pull-request: #15718
Fixes: #15717 
Signed-off-by: William Desportes <williamdes@wdes.fr>
williamdes added a commit that referenced this issue Jan 2, 2020
Signed-off-by: William Desportes <williamdes@wdes.fr>
issues automation moved this from to be fixed soon to Closed Jan 2, 2020
@yashrajbothra
Copy link
Contributor Author

Hey @victorphoenix3 @williamdes , the error popup is fixed but the an unexpected error message is showing at the end of the page which is not dissapearing even after popup dissapears.

image

@victorphoenix3
Copy link
Contributor

@yashrajbothra I think its the intended setting for all such error messages and notices.
@williamdes should this error history not be shown?

@williamdes
Copy link
Member

@victorphoenix3 I think that to know if this is a bug or a regression you should try using an old phpMyAdmin

Using 4.9.0.1:
image

The error was a normal one and did not have a spinner, but stayed forever

Can you open a PR to revert the change and disable the spinner ?

I should have checked the behavior using an old version before merging.

@victorphoenix3
Copy link
Contributor

@williamdes In 4.9 the "background" property for the ajax_notification in the css file overrided the background-image so the spinner is not visible.
In 5.1 we no longer have this background property in the scss file so the spinner image appears in every simple notification like "loading....".
To hide the spinner for "no column selected" I overrided it by sending the message string with type = "error", the same way as has been done previously for the error "No Databases selected".

As for the error messages showing at the end of the page, pointed by @yashrajbothra , the responseHandler function in the ajax javascript file is responsible. I think we can tweak it to not display the errors at the bottom.

Should I revert the PR? If there is another way do suggest, am still quite new to the codebase.

@williamdes
Copy link
Member

Should I revert the PR? If there is another way do suggest, am still quite new to the codebase.

I would vote for a revert so we can keep the same behavior than before and fix the real bug that is a CSS one as you found out :)

@victorphoenix3
Copy link
Contributor

@williamdes I have opened PR #15743 for the revert and another PR #15744 with a possible fix for this issue.
notify

williamdes added a commit that referenced this issue Jan 12, 2020
Pull-request: #15744
Closes: #15743
Fixes: #15717
Signed-off-by: William Desportes <williamdes@wdes.fr>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 4, 2021
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 has-pr An issue that has a pull request pending that may fix this issue. The pull request may be incomplete
Projects
issues
  
Closed
Development

No branches or pull requests

3 participants