Translations export branch can't be team-owned

Bug #407260 reported by Jeroen T. Vermeulen
72
This bug affects 13 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Ian Booth

Bug Description

With translations export to bzr branches, we wanted users to be able to register branches owned by teams that they are in. This does not work.

Apparently IBranchCollection.ownedBy does not provide this functionality.

Workaround for this problem: make yourself the owner of the branch, set it as the translations export branch, and then make the team the owner of the branch again.

Related branches

Revision history for this message
Jonathan Lange (jml) wrote :

IBranchCollection.ownedBy does not provide *which* functionality?

Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

IBranchCollection.ownedBy does not provide the ability to search for branches that the user owns indirectly, i.e. through team membership.

Mulled this over with abentley just now and the best solution seems to be to add an optional parameter to allow this.

description: updated
Changed in rosetta:
status: New → Triaged
importance: Undecided → High
milestone: none → 2.2.8
Changed in rosetta:
milestone: 2.2.8 → 3.0
Changed in rosetta:
milestone: 3.0 → 3.1.10
Revision history for this message
Martin Meredith (mez) wrote :

Thanks for the workaround!

Changed in rosetta:
milestone: 3.1.10 → none
Revision history for this message
Xavier (Open ERP) (xmo-deactivatedaccount) wrote :

Thanks a lot for the workaround Jeroen.

Maybe a good start for this bug fix would be to add a message (or fix the error message) to indicate that it's only possible to set translation export branches to the branches you own? Because right now it's completely unclear and even branches you have all control over (due to being team admin and everything) you can't set the translation export branch for.

Ian Booth (wallyworld)
Changed in launchpad:
assignee: nobody → Ian Booth (wallyworld)
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
Changed in launchpad:
milestone: none → 11.03
tags: added: qa-needstesting
Changed in launchpad:
status: Triaged → Fix Committed
Ian Booth (wallyworld)
tags: added: qa-ok
removed: qa-needstesting
Curtis Hovey (sinzui)
Changed in launchpad:
status: Fix Committed → Fix Released
Revision history for this message
Martin Pool (mbp) wrote :

@wallyworld, <https://help.launchpad.net/Translations/YourProject/Exports> says there's still a problem here; if you're sure this is fixed can you update it?

Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

https://help.launchpad.net/Translations/YourProject/Exports still says this is a problem. Where shall I file a bug to get it updated?

Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

Whoops, thanks for bringing that to our attention! I've just updated the page.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions