Some people don't have a Ubuntu WikiName

Bug #2369 reported by SVAKSHA
20
Affects Status Importance Assigned to Milestone
Launchpad itself
Invalid
Medium
Unassigned

Bug Description

All Launchpad users must have an Ubuntu WikiName, otherwise they can't login to the Ubuntu wiki. We ensure this by making the URL of the Ubuntu wiki not editable in a person's +editwikinames page, and that page assumes everybody has a WikiName with the Ubuntu wiki URL. This is a problem because some of our existing users don't have a Ubuntu WikiName, as you can see in:
<https://launchpad.net/people/svaksha/+editwikinames>

We can't add a database constraint to enforce this without causing more trouble than it would solve, so the Python code needs to ensure this remains true. Or we need to move the Launchpad WikiName to the Person table rather keeping it in the WikiName table.

Revision history for this message
Christian Reis (kiko) wrote :

    * Module zope.app.traversing.adapters, line 167, in traversePathElement
      next_item = traversable.traverse(nm, further_path)
    * Module zope.app.traversing.adapters, line 52, in traverse
      raise NotFoundError(subject, name)
      __traceback_info__: (None, 'wiki', [])

NotFoundError: (None, 'wiki')

Revision history for this message
Christian Reis (kiko) wrote :

Oh:

/srv/launchpad.net/production/launchpad/lib/canonical/launchpad/templates/person-editwikinames.pt
Line 36, Column 12
Expression: <PathExpr standard:'context/ubuntuwiki/wiki'>

Revision history for this message
Guilherme Salgado (salgado) wrote :

Did you go to your user preferences on the ubuntu wiki and choose to disable your account forever (or something with a similar wording)?

Revision history for this message
SVAKSHA (svaksha) wrote : Re: [Bug 2369] Reopening Bug #1576 (launchpad -Wiki field is static)

On 9/20/05, Guilherme Salgado via Malone <email address hidden> wrote:
> Public bug report changed:
> https://launchpad.net/malone/bugs/2369
>
> Comment:
> Did you go to your user preferences on the ubuntu wiki and choose to disable
> your account forever (or something with a similar wording)?

No...not that I can remember :-) ... let me check.

After creating the page I have not edited it at all
<https://wiki.ubuntu.com/Svaksha?action=info>

Anyway, the wiki : <https://wiki.ubuntu.com/Svaksha> is also
accessible with a search string for "svaksha" but its only in
Launchpad where this error occurs after login.

In the older format the field was static and I could not edit the URL.
In the new format too i get a system error if I try to edit (click) on
the "edit>wikinames" .
--
|| स्वक्ष || svaksha

Revision history for this message
Matthew East (mdke) wrote : Re: Reopening Bug #1576 (launchpad -Wiki field is static)

I can confirm this bug with my user (mdke). I don't know what the WikiNames thing is about, but if it helps, my wiki page is MatthewEast

description: updated
Stuart Bishop (stub)
description: updated
Revision history for this message
Guilherme Salgado (salgado) wrote : Re: [Bug 2369] Some people don't have a Ubuntu WikiName

Do you think we can run that script Andrew wrote to add WikiNames to people
again, Stuart?

Revision history for this message
Stuart Bishop (stub) wrote :

Guilherme Salgado wrote:
> Public bug report changed:
> https://launchpad.net/malone/bugs/2369
>
> Comment:
> Do you think we can run that script Andrew wrote to add WikiNames to people
> again, Stuart?
>

If someone reminds me where it is ;)

--
Stuart Bishop <email address hidden> http://www.canonical.com/
Canonical Ltd. http://www.ubuntu.com/

Revision history for this message
Guilherme Salgado (salgado) wrote :

On Wed, Sep 28, 2005 at 02:30:05AM -0000, Stuart Bishop wrote:
> Public bug report changed:
> https://launchpad.net/malone/bugs/2369
>
> Comment:
> Guilherme Salgado wrote:
> > Public bug report changed:
> >
> https://launchpad.net/malone/bugs/2369
> >
> > Comment:
> > Do you think we can run
> that script Andrew wrote to add WikiNames to people
> > again, Stuart?
> >
>
> If someone reminds me where it is ;)
>

It's in database/schema/archive/patch-17-34-0.sql

Revision history for this message
Christian Reis (kiko) wrote :

Have we determined why these users don't have wikinames, or are we just bandaiding again?

Revision history for this message
Guilherme Salgado (salgado) wrote :

From the web UI you can only change the WikiName for your Ubuntu wiki --you
can't change the URL part, so I'm pretty sure they can't have removed their
Ubuntu wikinames from the UI. Though I'm not sure what the authserver can do.
Maybe the authserver can remove your Ubuntu wikiname if you go to the ubuntu
wiki and ask to disable your account? I did this a few days ago and my
wikiname wasn't removed, but maybe it was not working like this before?

That's why I suggested to bandaid it. If it happens again we can spend more
time on this.

Revision history for this message
Christian Reis (kiko) wrote :

Does this seem to be related to people with merged accounts? I don't think the authserver changes your wikiname, no. I want us to find the root cause of this issue.

Revision history for this message
Matthew East (mdke) wrote :

If it helps, I have not got a merged account, but I renamed my account recently, from gulliver666 to mdke.

Thanks

Revision history for this message
SVAKSHA (svaksha) wrote :

Afaik, its not merged nor have I renamed it :-) but I had this problem from the time I opened a new account in July and the entry made then was non-editable after login.
Also, I have no problem while logging in at <https://wiki.ubuntu.com/> .
Hope this helps :-) Thanks

Revision history for this message
Christian Reis (kiko) wrote :

So if svaksha has had this problem since July, does this mean the script to add missing wikinames doesn't work, or did he lose it again afterwards?

Revision history for this message
Andrew Bennetts (spiv) wrote :

On Wed, Sep 28, 2005 at 03:51:04PM -0000, Guilherme Salgado wrote:
> Public bug report changed:
> https://launchpad.net/malone/bugs/2369
>
> Comment:
> >From the web UI you can only change the WikiName for your Ubuntu wiki --you
> can't change the URL part, so I'm pretty sure they can't have removed their
> Ubuntu wikinames from the UI. Though I'm not sure what the authserver can do.
> Maybe the authserver can remove your Ubuntu wikiname if you go to the ubuntu
> wiki and ask to disable your account? I did this a few days ago and my
> wikiname
> wasn't removed, but maybe it was not working like this before?

The authserver doesn't write to the WikiNames table, except when creating
new users. It never DELETEs or UPDATEs that table.

Revision history for this message
SVAKSHA (svaksha) wrote :

On 9/29/05, Christian Reis <email address hidden> wrote:
> Public bug report changed:
> https://launchpad.net/malone/bugs/2369
>
> Comment:
> So if svaksha has had this problem since July, does this mean the script to add
> missing wikinames doesn't work, or did he lose it again afterwards?
>

she did'nt lose it rather it was'nt working back then :-)
--
|| स्वक्ष || svaksha

Dafydd Harries (daf)
Changed in launchpad:
status: Unconfirmed → Confirmed
Revision history for this message
Dafydd Harries (daf) wrote :

https://staging.ubuntu.com/people/svaksha/+editwikinames

Stuart: I can't reproduce this problem on staging any longer. Is it still a bug?

Also, looking at the above page, there are wiki names for ubuntulinux.org and wiki.ubuntu.com. Why?

Revision history for this message
Diogo Matsubara (matsubara) wrote :

This is still a problem for teams. By default when we create a team we don't create a WikiName entry for it.
If the user try to access the page https://launchpad.net/people/$teamname/+editiwikinames it will crash with a OOPS like: OOPS-268A904

That page isn't available unless you're a team owner or admin and there's no link for it due bug 2553.

Changed in launchpad:
assignee: nobody → matsubara
Changed in launchpad:
assignee: matsubara → nobody
Revision history for this message
Diogo Matsubara (matsubara) wrote :

Another occurance for a team: OOPS-829EC66

Revision history for this message
Guilherme Salgado (salgado) wrote :

No longer relevant as we fixed bug 86253

Changed in launchpad:
status: Confirmed → Invalid
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

Remote bug watches

Bug watches keep track of this bug in other bug trackers.