#3866 Merge request error - issue with branch state?

unreleased
wont-fix
nobody
None
SCM
nobody
2014-11-24
2012-03-08
No

This exception occurred when a merge request was attempted:

Module allura.controllers.repository:123 in do_request_merge
<<              project_id=c.project._id,
                   mount_point=c.app.config.options.mount_point,
                   commit_id=c.app.repo.commit(kw['source_branch']).object_id)
               with c.app.repo.push_upstream_context():
                   mr = M.MergeRequest.upsert(
>>  commit_id=c.app.repo.commit(kw['source_branch']).object_id)
AttributeError: 'NoneType' object has no attribute 'object_id'

webob._parsed_post_vars:

(MultiDict([('summary', '42cc 2012.03.07'), ('source_branch', '42cc'), ('target_branch', 'dev'), ('description', 'Tickets done: #1, #2, #3, #4, #5, #6')]), <FakeCGIBody at 0x2aaaab566950 viewing MultiDict([('su...6')])>)

https://sourceforge.net/u/jardev/allura/ref/42cc~/ is empty though.

Discussion

  • Dave Brondsema

    Dave Brondsema - 2012-04-06
    • status: open --> wont-fix
    • size: --> 0
    • milestone: forge-apr-20 --> forge-apr-06
     
  • Dave Brondsema

    Dave Brondsema - 2012-04-06

    This was a weird branch - not going to spend time on it

     

Log in to post a comment.