You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Chris Tsai <ct...@users.sf.net> on 2014/01/20 19:58:08 UTC

[allura:tickets] #7069 unable to view/process merge requests when fork is deleted [ss6548]



---

** [tickets:#7069] unable to view/process merge requests when fork is deleted [ss6548]**

**Status:** open
**Created:** Mon Jan 20, 2014 06:58 PM UTC by Chris Tsai
**Last Updated:** Mon Jan 20, 2014 06:58 PM UTC
**Owner:** nobody

[forge:site-support:#6548]

>https://sourceforge.net/p/mikmod/mercurial/merge-requests/
There are several merge requests from a deleted fork at the
above link: When I am logged in, I can't view/process them.
I'd like all those merge-requests to be deleted altogether,
because all of them were merged manually long ago.

>Thanks.



---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #7069 unable to view/process merge requests when fork is deleted [ss6548]

Posted by Igor Bondarenko <je...@users.sf.net>.
- **status**: in-progress --> code-review



---

** [tickets:#7069] unable to view/process merge requests when fork is deleted [ss6548]**

**Status:** code-review
**Labels:** 42cc 
**Created:** Mon Jan 20, 2014 06:58 PM UTC by Chris Tsai
**Last Updated:** Fri Feb 07, 2014 06:01 PM UTC
**Owner:** nobody

[forge:site-support:#6548]

>https://sourceforge.net/p/mikmod/mercurial/merge-requests/
There are several merge requests from a deleted fork at the
above link: When I am logged in, I can't view/process them.
I'd like all those merge-requests to be deleted altogether,
because all of them were merged manually long ago.

>Thanks.



---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #7069 unable to view/process merge requests when fork is deleted [ss6548]

Posted by Dave Brondsema <br...@users.sf.net>.
Error trace from server logs is:

~~~~
File '/var/local/allura/Allura/allura/templates/repo/merge_request.html', line 19 in top-level template code
  {% extends 'allura:templates/repo/repo_master.html' %}
File '/var/local/allura/Allura/allura/templates/repo/repo_master.html', line 138 in top-level template code
  <span class="scm-tag-label">{{t}}</span>
File '/var/local/allura/Allura/allura/templates/jinja_master/master.html', line 126 in top-level template code
  {% block content %}{% endblock %}
File '/var/local/allura/Allura/allura/templates/repo/merge_request.html', line 52 in block "content"
  >{{ c.app.repo.merge_command(req) | safe }}</textarea></div>
File '/var/local/env-allura/lib/python2.7/site-packages/ForgeHg-0.1.21-py2.7.egg/forgehg/model/hg.py', line 54 in merge_command
  merge_request.downstream_repo_url,
File '/var/local/env-allura/lib/python2.7/site-packages/Ming-0.4.2-py2.7.egg/ming/utils.py', line 18 in __get__
  result = obj.__dict__[self.__name__] = self._func(obj)
File '/var/local/allura/Allura/allura/model/repository.py', line 712 in downstream_repo_url
  return c.app.repo.clone_url(
AttributeError: 'NoneType' object has no attribute 'repo'
~~~~


---

** [tickets:#7069] unable to view/process merge requests when fork is deleted [ss6548]**

**Status:** open
**Created:** Mon Jan 20, 2014 06:58 PM UTC by Chris Tsai
**Last Updated:** Mon Jan 20, 2014 06:58 PM UTC
**Owner:** nobody

[forge:site-support:#6548]

>https://sourceforge.net/p/mikmod/mercurial/merge-requests/
There are several merge requests from a deleted fork at the
above link: When I am logged in, I can't view/process them.
I'd like all those merge-requests to be deleted altogether,
because all of them were merged manually long ago.

>Thanks.



---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #7069 unable to view/process merge requests when fork is deleted [ss6548]

Posted by Tim Van Steenburgh <va...@users.sf.net>.
- **status**: code-review --> closed



---

** [tickets:#7069] unable to view/process merge requests when fork is deleted [ss6548]**

**Status:** closed
**Labels:** 42cc 
**Created:** Mon Jan 20, 2014 06:58 PM UTC by Chris Tsai
**Last Updated:** Mon Feb 10, 2014 09:24 AM UTC
**Owner:** nobody

[forge:site-support:#6548]

>https://sourceforge.net/p/mikmod/mercurial/merge-requests/
There are several merge requests from a deleted fork at the
above link: When I am logged in, I can't view/process them.
I'd like all those merge-requests to be deleted altogether,
because all of them were merged manually long ago.

>Thanks.



---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #7069 unable to view/process merge requests when fork is deleted [ss6548]

Posted by Igor Bondarenko <je...@users.sf.net>.
- **status**: in-progress --> code-review



---

** [tickets:#7069] unable to view/process merge requests when fork is deleted [ss6548]**

**Status:** code-review
**Labels:** 42cc 
**Created:** Mon Jan 20, 2014 06:58 PM UTC by Chris Tsai
**Last Updated:** Fri Jan 24, 2014 09:20 AM UTC
**Owner:** nobody

[forge:site-support:#6548]

>https://sourceforge.net/p/mikmod/mercurial/merge-requests/
There are several merge requests from a deleted fork at the
above link: When I am logged in, I can't view/process them.
I'd like all those merge-requests to be deleted altogether,
because all of them were merged manually long ago.

>Thanks.



---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #7069 unable to view/process merge requests when fork is deleted [ss6548]

Posted by Dave Brondsema <br...@users.sf.net>.
- **labels**:  --> 42cc



---

** [tickets:#7069] unable to view/process merge requests when fork is deleted [ss6548]**

**Status:** open
**Labels:** 42cc 
**Created:** Mon Jan 20, 2014 06:58 PM UTC by Chris Tsai
**Last Updated:** Wed Jan 22, 2014 10:41 PM UTC
**Owner:** nobody

[forge:site-support:#6548]

>https://sourceforge.net/p/mikmod/mercurial/merge-requests/
There are several merge requests from a deleted fork at the
above link: When I am logged in, I can't view/process them.
I'd like all those merge-requests to be deleted altogether,
because all of them were merged manually long ago.

>Thanks.



---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #7069 unable to view/process merge requests when fork is deleted [ss6548]

Posted by Dave Brondsema <br...@users.sf.net>.
I think we should try to display as much of the page as possible even when the fork repo is gone, but say the fork was deleted when the template links to the fork or has merge instructions.  Or something reasonable like that, so the merge request can still be updated.


---

** [tickets:#7069] unable to view/process merge requests when fork is deleted [ss6548]**

**Status:** open
**Labels:** 42cc 
**Created:** Mon Jan 20, 2014 06:58 PM UTC by Chris Tsai
**Last Updated:** Wed Jan 22, 2014 10:41 PM UTC
**Owner:** nobody

[forge:site-support:#6548]

>https://sourceforge.net/p/mikmod/mercurial/merge-requests/
There are several merge requests from a deleted fork at the
above link: When I am logged in, I can't view/process them.
I'd like all those merge-requests to be deleted altogether,
because all of them were merged manually long ago.

>Thanks.



---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #7069 unable to view/process merge requests when fork is deleted [ss6548]

Posted by Igor Bondarenko <je...@users.sf.net>.
- **status**: open --> in-progress



---

** [tickets:#7069] unable to view/process merge requests when fork is deleted [ss6548]**

**Status:** in-progress
**Labels:** 42cc 
**Created:** Mon Jan 20, 2014 06:58 PM UTC by Chris Tsai
**Last Updated:** Thu Jan 23, 2014 09:57 PM UTC
**Owner:** nobody

[forge:site-support:#6548]

>https://sourceforge.net/p/mikmod/mercurial/merge-requests/
There are several merge requests from a deleted fork at the
above link: When I am logged in, I can't view/process them.
I'd like all those merge-requests to be deleted altogether,
because all of them were merged manually long ago.

>Thanks.



---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #7069 unable to view/process merge requests when fork is deleted [ss6548]

Posted by Igor Bondarenko <je...@users.sf.net>.
Closed #525. `je/42cc_7069`


---

** [tickets:#7069] unable to view/process merge requests when fork is deleted [ss6548]**

**Status:** code-review
**Labels:** 42cc 
**Created:** Mon Jan 20, 2014 06:58 PM UTC by Chris Tsai
**Last Updated:** Fri Jan 24, 2014 09:20 AM UTC
**Owner:** nobody

[forge:site-support:#6548]

>https://sourceforge.net/p/mikmod/mercurial/merge-requests/
There are several merge requests from a deleted fork at the
above link: When I am logged in, I can't view/process them.
I'd like all those merge-requests to be deleted altogether,
because all of them were merged manually long ago.

>Thanks.



---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #7069 unable to view/process merge requests when fork is deleted [ss6548]

Posted by Igor Bondarenko <je...@users.sf.net>.
Closed #527.

Rebased and force-pushed `je/42cc_7069`


---

** [tickets:#7069] unable to view/process merge requests when fork is deleted [ss6548]**

**Status:** code-review
**Labels:** 42cc 
**Created:** Mon Jan 20, 2014 06:58 PM UTC by Chris Tsai
**Last Updated:** Fri Feb 07, 2014 06:01 PM UTC
**Owner:** nobody

[forge:site-support:#6548]

>https://sourceforge.net/p/mikmod/mercurial/merge-requests/
There are several merge requests from a deleted fork at the
above link: When I am logged in, I can't view/process them.
I'd like all those merge-requests to be deleted altogether,
because all of them were merged manually long ago.

>Thanks.



---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #7069 unable to view/process merge requests when fork is deleted [ss6548]

Posted by Tim Van Steenburgh <va...@users.sf.net>.
- **QA**: Tim Van Steenburgh
- **Milestone**: limbo --> forge-feb-7



---

** [tickets:#7069] unable to view/process merge requests when fork is deleted [ss6548]**

**Status:** code-review
**Labels:** 42cc 
**Created:** Mon Jan 20, 2014 06:58 PM UTC by Chris Tsai
**Last Updated:** Fri Jan 31, 2014 12:39 PM UTC
**Owner:** nobody

[forge:site-support:#6548]

>https://sourceforge.net/p/mikmod/mercurial/merge-requests/
There are several merge requests from a deleted fork at the
above link: When I am logged in, I can't view/process them.
I'd like all those merge-requests to be deleted altogether,
because all of them were merged manually long ago.

>Thanks.



---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #7069 unable to view/process merge requests when fork is deleted [ss6548]

Posted by Tim Van Steenburgh <va...@users.sf.net>.
This looks good, but it would be good to get at least one functional test to assert that the merge request detail page loads properly when the downstream repo has been deleted.


---

** [tickets:#7069] unable to view/process merge requests when fork is deleted [ss6548]**

**Status:** in-progress
**Labels:** 42cc 
**Created:** Mon Jan 20, 2014 06:58 PM UTC by Chris Tsai
**Last Updated:** Fri Jan 31, 2014 06:03 PM UTC
**Owner:** nobody

[forge:site-support:#6548]

>https://sourceforge.net/p/mikmod/mercurial/merge-requests/
There are several merge requests from a deleted fork at the
above link: When I am logged in, I can't view/process them.
I'd like all those merge-requests to be deleted altogether,
because all of them were merged manually long ago.

>Thanks.



---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #7069 unable to view/process merge requests when fork is deleted [ss6548]

Posted by Tim Van Steenburgh <va...@users.sf.net>.
- **status**: code-review --> in-progress



---

** [tickets:#7069] unable to view/process merge requests when fork is deleted [ss6548]**

**Status:** in-progress
**Labels:** 42cc 
**Created:** Mon Jan 20, 2014 06:58 PM UTC by Chris Tsai
**Last Updated:** Fri Jan 31, 2014 06:03 PM UTC
**Owner:** nobody

[forge:site-support:#6548]

>https://sourceforge.net/p/mikmod/mercurial/merge-requests/
There are several merge requests from a deleted fork at the
above link: When I am logged in, I can't view/process them.
I'd like all those merge-requests to be deleted altogether,
because all of them were merged manually long ago.

>Thanks.



---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.