[Mono-bugs] [Bug 713339] New: monodoc edits the wrong file

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Aug 21 10:03:36 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=713339

https://bugzilla.novell.com/show_bug.cgi?id=713339#c0


           Summary: monodoc edits the wrong file
    Classification: Mono
           Product: Mono: Doctools
           Version: 2.6.x
          Platform: PC
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Console
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: antoine at jabron.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (X11; Linux i686; rv:6.0) Gecko/20100101
Firefox/6.0

When running monodocer for an assembly simple.dll with one namespace ('simple')
containing one class ('MyClass'), it generates index.xml and ns-simple.xml.

The generated files are OK, but when trying to click on a EDIT link, monodoc
crashes:
System.IO.FileNotFoundException: Could not find file
"/home/antoine/Projects/simple/en/simple.xml"

Renaming ns-simple.xml as simple.xml fixes the problem.

If there are both ns-simple.xml and simple.xml, ns-simple.xml is used as input
file and simple.xml as output file.




Reproducible: Always

Steps to Reproduce:
1. Generate a simple project
2. Run monodocer -assembly:simple.dll -path:en -pretty
3. Run monodoc --edit en
4. Trying to edit an entry crashes
Actual Results:  
monodoc crashes

Expected Results:  
Editor window

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list