stable

Clone or download

Read-only

request #16622 REST user preference must return false if preference is not in database

Following request #15111, the annotation of UserPreference was misleading and a compatibility break was introduced. An unexisting user preference now returns empty string instead of false, which breaks the artifact modal edition for instance. Change-Id: Ib15515082d1882075c5bc6ca60b44c7dbf2a078e

Modified Files

Name
R src/common/User/REST/v1/UserPreferenceRepresentation.class.php Go to diff View file
M tests/rest/tests/UsersTest.php +13 −0 Go to diff View file