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

Name column always shows alias instead of field name in refactor fields algorithm #53028

Closed
2 tasks done
mblesius opened this issue May 6, 2023 · 1 comment · Fixed by #53365
Closed
2 tasks done
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! GUI/UX Related to QGIS application GUI or User Experience

Comments

@mblesius
Copy link

mblesius commented May 6, 2023

What is the bug or the crash?

The name column in the field mapping of the Refactor fields algorithm will always show the alias of a field. To the user it appears as if it is not possible to rename fields for which an alias has been set, but the renaming of the field is performed anyway.

Steps to reproduce the issue

  1. Add a vector layer with at least one column to a new QGIS project
  2. Set an alias for a field
  3. Open Refactor fields algorithm
  4. Try to change the name of the field for which the alias has been set
refactor_fields_with_alias.mp4

Versions

QGIS version 3.30.2-'s-Hertogenbosch QGIS code revision 0992b53
Qt version 5.15.3
Python version 3.9.5
GDAL/OGR version 3.6.4
PROJ version 9.2.0
EPSG Registry database version v10.082 (2023-02-06)
GEOS version 3.11.2-CAPI-1.17.2
SQLite version 3.41.1
PDAL version 2.5.2
PostgreSQL client version unknown
SpatiaLite version 5.0.1
QWT version 6.1.6
QScintilla2 version 2.13.1
OS version Windows 10 Version 2009
       
Active Python plugins
db_manager 0.1.20
grassprovider 2.12.99
MetaSearch 0.3.6
processing 2.12.99

Active Python plugins
db_manager
0.1.20
grassprovider
2.12.99
MetaSearch
0.3.6
processing
2.12.99

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

  • I tried with a new QGIS profile

Additional context

Also tested with QGIS 3.31.0-Master regarding #52782

@mblesius mblesius added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label May 6, 2023
@agiudiceandrea agiudiceandrea added Processing Relating to QGIS Processing framework or individual Processing algorithms GUI/UX Related to QGIS application GUI or User Experience labels May 13, 2023
@alexbruy alexbruy removed the Processing Relating to QGIS Processing framework or individual Processing algorithms label Jun 5, 2023
@alexbruy
Copy link
Contributor

alexbruy commented Jun 5, 2023

Not specific to Processing, happens in other places as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! GUI/UX Related to QGIS application GUI or User Experience
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants