strange behavior for edit design?

View: New views
3 Messages — Rating Filter:   Alert me  

strange behavior for edit design?

by Tudor Girba :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Here is what I did:
- I downloaded the latest Seaside.app
- Started Pier in the browser
- Edit Design
- Save

This results in a page that shows the pages referenced in the  
Environment as missing.

The problem seems to be that the relative links in the Environment are  
now solved differently. Before, they were solved relative to the  
Environment, but now they seem to be solved relative to the page from  
where I invoke Edit Design.

I figured this out because if you sy Edit Design from the Environment  
page, the links are resolved correctly :).

So, is this the intended behavior? If it is, it means that we have to  
specify the Environment with absolute links.

Cheers,
Doru

--
www.tudorgirba.com
www.tudorgirba.com/blog

"Sometimes the best solution is not the best solution."


_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

Re: strange behavior for edit design?

by Lukas Renggli-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> So, is this the intended behavior? If it is, it means that we have to
> specify the Environment with absolute links.

Looks like a new bug. I will have a look.

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch


_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

Re: strange behavior for edit design?

by Lukas Renggli-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Doru,

thanks for reporting. I extracted to command into a separate extension  
package and fixed the bug:

        Name: Pier-Design-lr.1
        Author: lr
        Time: 2 March 2008, 11:10:25 am
        UUID: 3a55fa21-1f7a-47c8-bbf7-dfb1d56d2543

        - extracted design command

> I figured this out because if you sy Edit Design from the Environment
> page, the links are resolved correctly :).

Editing the design using this special command now does properly lookup  
the path relative to the environment (not the current page).

Cheers,
Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch


_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki