Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 299394

Implementation of user name in jsonapi can result in overwriting data

$
0
0

Problem/Motivation

See #3042745: Remove group @legacy from jsonapi tests and fix deprecation messages and [#32450793], I don't fully understand yet how this all works together but I assume by overwriting the user name *field* with the label/display name can result in overwriting the actual username if that data is saved back.

I'll see if I can create a failing test to show the problem.

Proposed resolution

Not sure, but maybe the display name could be exposed as a separate thing that is explicitly read-only?

Would need to be BC somehow, of course unless we define that the current behavior is simply a bug that must be fixed.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 299394

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>