Phpmyadmin: [5.0.0-dev] Browser display transformation selection

Created on 27 Nov 2018  路  1Comment  路  Source: phpmyadmin/phpmyadmin

Describe the bug

All options are selected in list
See html source

To Reproduce

Steps to reproduce the behavior:

  1. Go to a table
  2. Edit structure
  3. Look at <select> Browser display transformation source html
  4. See that all options are marked selected

Expected behavior

Select the good one

Server configuration

  • phpMyAdmin version: 5.0.0-dev

Additional context

templates/columns_definitions/transformation.twig
'@' ~ available_mime[type ~ '_file_quoted'][mimekey] ~ '3?@i' regex always matches !

bug has-pr help wanted

Most helpful comment

@williamdes I have successfully reproduced the issue on my local machine. As I understand the issue does not occur when None is selected but crops up when we select an option other than None eg: If we select Download and save then when we edit again it shows Substring as all the options (except None) are selected.

I will start working on fixing this and will ask for your help if needed

>All comments

@williamdes I have successfully reproduced the issue on my local machine. As I understand the issue does not occur when None is selected but crops up when we select an option other than None eg: If we select Download and save then when we edit again it shows Substring as all the options (except None) are selected.

I will start working on fixing this and will ask for your help if needed

Was this page helpful?
0 / 5 - 0 ratings