#7752 Error when indexing users

v1.2.0
closed
General
2015-08-20
2014-10-09
No
  File "/var/local/allura/Allura/allura/tasks/index_tasks.py", line 63, in add_users
    __add_objects(users)
  File "/var/local/allura/Allura/allura/tasks/index_tasks.py", line 38, in __add_objects
    solr_instance.add([obj.solarize() for obj in objects])
  File "/var/local/allura/Allura/allura/lib/search.py", line 89, in solarize
    doc = self.index()
  File "/var/local/allura/Allura/allura/model/auth.py", line 315, in index
    webpages_t=' '.join(self.get_pref('webpages')),
TypeError: sequence item 0: expected string, NoneType found

Discussion

  • Igor Bondarenko

    Igor Bondarenko - 2014-10-16
    • labels: --> 42cc
    • status: open --> in-progress
    • assigned_to: Igor Bondarenko
     
  • Igor Bondarenko

    Igor Bondarenko - 2014-10-17
    • status: in-progress --> code-review
     
  • Igor Bondarenko

    Igor Bondarenko - 2014-10-17

    Closed #670. je/7752

     
  • Dave Brondsema

    Dave Brondsema - 2014-10-17
    • status: code-review --> closed
    • QA: Dave Brondsema
    • Size: --> 1
     
  • Dave Brondsema

    Dave Brondsema - 2015-01-05
    • Milestone: unreleased --> asf_release_1.2.0
     

Log in to post a comment.