strange behavior for edit design?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

strange behavior for edit design?

Tudor Girba-3
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
Reply | Threaded
Open this post in threaded view
|

Re: strange behavior for edit design?

Lukas Renggli-2
> 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
Reply | Threaded
Open this post in threaded view
|

Re: strange behavior for edit design?

Lukas Renggli-2
In reply to this post by Tudor Girba-3
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