Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-10157

Missing error handling when a custom profile field is not defined for current language

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.0.10-RC1
    • 3.0.8
    • None
    • None

      Support topic: http://www.phpbb.com/community/viewtopic.php?f=46&t=2127933

      Someone mentioned elsewhere that custom profile fields are language-specific.

      Apparently the code simply assumes that each profile field is defined for the current language, which does not have to be the case if, I'm guessing, a language was added after the profile field was created. Thus it may be the case that there is no profile field definition for the current language.

      The code should report this condition in a proper fashion.

      It may be worthwhile to also add a note to the page where languages are added, if any custom profile fields are defined, that the custom profile fields need definitions for the new language.

      https://github.com/phpbb/phpbb3/blob/release-3.0.8/phpBB/includes/functions_profile_fields.php#L814

            nickvergessen Joas Schilling
            Oleg Oleg [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: