home link dead

Bug #368750 reported by Nat Katin-Borland
2
Affects Status Importance Assigned to Milestone
KARL3
Fix Released
Medium
Chris Rossi

Bug Description

On the KARL homepage the green Home link the upper right hand corner and the KARL Icon home link are both dead links taking you to a Page not Found screen. Both these links should take you to the default homepage for the user.

Revision history for this message
Nat Katin-Borland (nborland) wrote :

Not sure what to tag this

Changed in karl3:
assignee: nobody → paul-agendaless
importance: Undecided → Medium
Changed in karl3:
milestone: none → m12
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Chris, this is one I didn't try to hard to get into. I went into api.py inside:

    @property
    def home_url(self):
        if self._home_url is None:
            target, extra_path = get_user_home(self.context, self.request)
            self._home_url = model_url(target, self.request, *extra_path)
        return self._home_url

...and found that self._home_url was being returned as:

  http://localhost:6543/offices/baltimore/files/offices/nyc

I got there by first using bin/debug to set the home_path on staff1:

$ bin/debug
No handlers could be found for logger "ZODB.blob"
Python 2.5.2 (r252:60911, Nov 16 2008, 15:29:21)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help" for more information. "root" is the karl root object.
>>> import transaction
import transaction
>>> s1 = root['profiles']['staff1']
s1 = root['profiles']['staff1']
>>> s1.home_path
s1.home_path
>>> print s1.home_path
print s1.home_path
None
>>> s1.home_path = u'offices/nyc'
s1.home_path = u'offices/nyc'
>>> transaction.commit()

...then going to:

  http://localhost:6543/offices/baltimore/files

Hopefully that's some useful pointers.

Changed in karl3:
assignee: paul-agendaless → chris-archimedeanco
Revision history for this message
Chris Rossi (chris-archimedeanco) wrote :

I didn't know about that "debug" console script. That's handy.

Changed in karl3:
status: New → Fix Committed
Revision history for this message
Nat Katin-Borland (nborland) wrote :

The home links are still dead for me.

Revision history for this message
Paul Everitt (paul-agendaless) wrote : Re: [Bug 368750] Re: home link dead

Right, we don't update the site after each bug is fixed. Would you
prefer that we do so?

--Paul

On Apr 29, 2009, at 1:57 PM, Nat Katin-Borland wrote:

> The home links are still dead for me.
>
> --
> home link dead
> https://bugs.launchpad.net/bugs/368750
> You received this bug notification because you are subscribed to
> KARL3.
>
> Status in Porting KARL to a new architecture: Fix Committed
>
> Bug description:
> On the KARL homepage the green Home link the upper right hand corner
> and the KARL Icon home link are both dead links taking you to a Page
> not Found screen. Both these links should take you to the default
> homepage for the user.

Revision history for this message
Nat Katin-Borland (nborland) wrote :

Yeah, sorry about that. I realized after I sent in the comment that you
just hadn't made the fix live yet. I think it's best to try not to
update the system during our peak testing time (usually 11-4).

Thanks,
Nat

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
Paul Everitt
Sent: Wednesday, April 29, 2009 2:11 PM
To: Nathaniel Katin-Borland
Subject: Re: [Bug 368750] Re: home link dead

Right, we don't update the site after each bug is fixed. Would you
prefer that we do so?

--Paul

On Apr 29, 2009, at 1:57 PM, Nat Katin-Borland wrote:

> The home links are still dead for me.
>
> --
> home link dead
> https://bugs.launchpad.net/bugs/368750
> You received this bug notification because you are subscribed to
> KARL3.
>
> Status in Porting KARL to a new architecture: Fix Committed
>
> Bug description:
> On the KARL homepage the green Home link the upper right hand corner
> and the KARL Icon home link are both dead links taking you to a Page
> not Found screen. Both these links should take you to the default
> homepage for the user.

--
home link dead
https://bugs.launchpad.net/bugs/368750
You received this bug notification because you are a direct subscriber
of the bug.

Status in Porting KARL to a new architecture: Fix Committed

Bug description:
On the KARL homepage the green Home link the upper right hand corner and
the KARL Icon home link are both dead links taking you to a Page not
Found screen. Both these links should take you to the default homepage
for the user.

Changed in karl3:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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