If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Add-ons/libraries not indexed in search for user FDTesting

RESOLVED FIXED

Status

addons.mozilla.org Graveyard
Add-on Builder
RESOLVED FIXED
6 years ago
3 years ago

People

(Reporter: zac, Unassigned)

Tracking

Details

(Reporter)

Description

6 years ago
Add-ons and libraries for my test user 'FDTesting' are not being indexed.

I have checked with Sean that they meet the requirements to be indexed (ie don't have version initial).

https://builder-addons.allizom.org/search/?author=2255
(Reporter)

Updated

6 years ago
Summary: Add-ons/libraryies not indexed in search for user FDTesting → Add-ons/libraries not indexed in search for user FDTesting
There's a 500 related to that user, I think it might be same issue as before.

Traceback (most recent call last):

  File "/data/amo_python/www/builder.preview/flightdeck/vendor/lib/python/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/data/amo_python/www/builder.preview/flightdeck/apps/person/views.py", line 18, in public_profile
    profile = Profile.objects.get_user_by_username_or_nick(username)

  File "/data/amo_python/www/builder.preview/flightdeck/apps/person/managers.py", line 45, in get_user_by_username_or_nick
    return _get_profile()

  File "/data/amo_python/www/builder.preview/flightdeck/apps/person/managers.py", line 38, in _get_profile
    return _get_profile()

  File "/data/amo_python/www/builder.preview/flightdeck/apps/person/managers.py", line 38, in _get_profile
    return _get_profile()

  File "/data/amo_python/www/builder.preview/flightdeck/apps/person/managers.py", line 38, in _get_profile
    return _get_profile()

  File "/data/amo_python/www/builder.preview/flightdeck/apps/person/managers.py", line 24, in _get_profile
    return self.get(by_nick | by_username)

  File "/data/amo_python/www/builder.preview/flightdeck/vendor/lib/python/django/db/models/manager.py", line 132, in get
    return self.get_query_set().get(*args, **kwargs)

  File "/data/amo_python/www/builder.preview/flightdeck/vendor/lib/python/django/db/models/query.py", line 351, in get
    % (self.model._meta.object_name, num, kwargs))

MultipleObjectsReturned: get() returned more than one Profile -- it returned 2! Lookup parameters were {}
(Reporter)

Comment 2

6 years ago
This was resolved at some point.
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
(Assignee)

Updated

3 years ago
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.