Problem/Motivation

In #3314264: Switch to spomky-labs/otphp tests were added expecting the user.data service to return INT's, the same as was stored, however all scalar values are converted to strings by the DB layer.

Steps to reproduce

See #3347042: UserData only returns strings for scalar values

Proposed resolution

Convert test mocks to return a string.
Fix any new code failures.

Remaining tasks

User interface changes

None

API changes

None

Data model changes

None

Issue fork tfa-3410959

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

cmlara created an issue. See original summary.

cmlara’s picture

Title: UserData service returns strings not integers » user.data service returns strings not integers
Status: Active » Fixed

  • cmlara committed 22429fa6 on 2.x
    Issue #3410959 by cmlara: user.data service returns strings not integers
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.