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 2005/03/17 17:19:35 UTC

DO NOT REPLY [Bug 34060] New: - Validation of a document Name by the rename usecase

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=34060>.
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=34060

           Summary: Validation of a document Name by the rename usecase
           Product: Lenya
           Version: 1.2.3
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Site Management
        AssignedTo: dev@lenya.apache.org
        ReportedBy: jann.forrer@id.unizh.ch


If I do Site Area -> Edit -> Rename URL, I can change the name of the document
to whatever i want i.e tutorial to tutorial_new which is not allowed during
creation.   The reason is that the parameter "contextprefix" is not given to
rename.xsl in the usecase xmap so that the javascript is not found. 

<map:transform src="xslt/info/rename.xsl"/>

instead of 
<map:transform src="xslt/info/rename.xsl">
 <map:parameter name="contextprefix" value="{request:contextPath}"/>
</map:transform>

Adittionally you have tabs in rename.xsl leadin to:

&#9;if (!validContent(theForm["properties.node.secdocumentid"],"New Document ID"))
&#9;&#9;return false;

in the page source.

-- 
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