I just been found that after saving user profile with an empty “About” field, it will be empty in the database, but not null. At the same time in a badge query “Autobiographer” are checked for null value for
It seems to solve this problem, should to change this badge query to check the empty and null value for
bio_raw or change the
cook function in the
app/models/user_profile.rb model by adding
self.bio_raw = nil when
self.bio_raw not present.
P.S. Same for location.
P.P.S. See that it have lenght check for bio_raw, so all right for this badge query!