You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by bu...@apache.org on 2007/04/17 11:14:59 UTC

DO NOT REPLY [Bug 42140] New: - /{pub-id}/{module}/... URLs interfere with areas

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42140>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42140

           Summary: /{pub-id}/{module}/... URLs interfere with areas
           Product: Lenya
           Version: Trunk
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: major
          Priority: P2
         Component: Miscellaneous
        AssignedTo: dev@lenya.apache.org
        ReportedBy: andreas@apache.org


ATM it is allowed to use URLs like

  /{pub-id}/{module}/foo.xml

This interferes with areas. Specifically, the UuidToUrlTransformer
rewrites

  /default/resource/icons/...

to

  /default/authoring/icons/...

because "resource" is not the current area.
That's why the icon on resource pages doesn't appear.

Another problem is that it doesn't work with proxies out of
the box, since the area's URL space is not self-contained.

----

We could use a configurable prefix (preset to "lenya"):

  /{pub}/{area}/{lenya-prefix}/modules

For instance

  /default/authoring/lenya/modules
  /yourpub/authoring/cms/modules

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 42140] - /{pub-id}/{module}/... URLs interfere with areas

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42140>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42140


andreas@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From andreas@apache.org  2007-04-23 00:55 -------
I added a workaround to the UuidToUrlTransformer.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 42140] - /{pub-id}/{module}/... URLs interfere with areas

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42140>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42140





------- Additional Comments From nettings@apache.org  2007-04-17 03:37 -------
i don't really like this approach. i don't have a better solution off-hand, but
i see a number of issues:

* it touches 3 different files
* it touches both a module and a global sitemap
* it introduces a configuration variety that will be a pain to support later
* it adds significant complication and new semantics to fix a bug related to
areas, which we agreed we want to get rid of eventually.

then again, it has one major benefit:

* it solves a problem now.

but: the most part of my work on lenya has been ripping out such patches again,
which is a huge pain, introduces instability and gets harder the longer such
patches are in use.



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 42140] - /{pub-id}/{module}/... URLs interfere with areas

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42140>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42140





------- Additional Comments From andreas@apache.org  2007-04-17 02:35 -------
Created an attachment (id=19976)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=19976&action=view)
Introduces prefix for lenya-specific URLs (e.g., modules) inside areas.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org