Bug report #13433

Help text for rpad and lpad in field calculator are mixed up

Added by Kristian Evers over 8 years ago. Updated over 8 years ago.

Status:Closed
Priority:Low
Assignee:-
Category:Field calculator
Affected QGIS version:master Regression?:No
Operating System:Windows Easy fix?:No
Pull Request or Patch supplied:Yes Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:21480

Description

The help text for string operations rpad() and lpad() in the field calculator are mixed up. The help text for rpad() says that the text is padded as 'xxxxxHello' which should be 'Helloxxxxx'. Similarly the help text for lpad() says text is padded as 'Helloxxxxx' which should be 'xxxxxHello'.

Afflicted files:

QGIS/resources/function_help/json/rpad
QGIS/resources/function_help/json/lpad

Updated versions are attached to this bug report.

rpad - QGIS/resources/function_help/json/rpad (418 Bytes) Kristian Evers, 2015-09-26 07:43 AM

lpad - QGIS/resources/function_help/json/lpad (417 Bytes) Kristian Evers, 2015-09-26 07:43 AM

Associated revisions

Revision b46cbbe4
Added by Jürgen Fischer over 8 years ago

fix mixup between lpad/rpad help (fixes #13433)

Revision a76c5f62
Added by Jürgen Fischer over 8 years ago

fix rpad/lpad help (fixes #13433)

History

#1 Updated by Jürgen Fischer over 8 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF