#7495 'url' missing on MovedTicket models

v1.2.0
closed
sf-2 (970)
General
2015-08-20
2014-06-25
Dave Brondsema
No

When running allura.command.show_models.ReindexCommand the following error occurs when encountering a forgetracker.model.ticket.MovedTicket artifact.

Traceback (most recent call last):
  File "/var/local/allura/Allura/allura/model/monq_model.py", line 267, in __call__
    self.result = func(*self.args, **self.kwargs)
  File "/var/local/allura/Allura/allura/command/base.py", line 49, in run_command
    return command.run(arg_list)
  File "/var/local/env-allura/lib/python2.7/site-packages/PasteScript-1.7.4.2-py2.7.egg/paste/script/command.py", line 238, in run
    result = self.command()
  File "/var/local/allura/Allura/allura/command/show_models.py", line 138, in command
    self._chunked_add_artifacts(ref_ids)
  File "/var/local/allura/Allura/allura/command/show_models.py", line 164, in _chunked_add_artifacts
    **self.add_artifact_kwargs)
  File "/var/local/allura/Allura/allura/tasks/index_tasks.py", line 76, in add_artifacts
    s = artifact.solarize()
  File "/var/local/allura/Allura/allura/lib/search.py", line 89, in solarize
    doc = self.index()
  File "/var/local/allura/Allura/allura/model/artifact.py", line 312, in index
    url_s=self.url(),
  File "/var/local/allura/Allura/allura/model/artifact.py", line 324, in url
    raise NotImplementedError, 'url'  # pragma no cover
NotImplementedError: url

Discussion

    • status: open --> in-progress
    • assigned_to: Alexander Luberg
     
  • Dave Brondsema
    Dave Brondsema
    2014-06-30

    • Milestone: forge-jun-27 --> forge-jul-11
     
  • Dave Brondsema
    Dave Brondsema
    2014-06-30

    • Size: --> 2
     
    • status: in-progress --> code-review
    • QA: Dave Brondsema
     
  • Dave Brondsema
    Dave Brondsema
    2014-07-01

    • status: code-review --> closed
     
  • Dave Brondsema
    Dave Brondsema
    2015-01-05

    • Milestone: unreleased --> asf_release_1.2.0