#4272 closed defect (wontfix)
Available Reports page always asks if I want to delete "this report"
Reported by: | akaihola | Owned by: | Matthew Good |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | report system | Version: | devel |
Severity: | normal | Keywords: | genshi |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
At revision 4353, when clicking "View Tickets", the URL <project-url>/report is opened, and it always begins with the question "Are you sure you want to delete this report?" with "Cancel" and "Delete report" buttons.
Here's a snippet from the HTML source:
<div id="main"> <div id="ctxtnav" class="nav"> <h2>Report Navigation</h2> <ul> <li class="first"> Available Reports </li> <li class="last"><a href="/taiteilijat/query">Custom Query</a></li> </ul> </div> <h1>Available Reports <form action="/taiteilijat/report" method="post"><div><input type="hidden" name="__FORM_TOKEN" value="941c2efbfe73d9267dc2eb76" /></div> <input type="hidden" name="id" value="-1"> <input type="hidden" name="action" value="delete"> <p><strong>Are you sure you want to delete this report? <div class="buttons"> <input type="submit" name="cancel" value="Cancel"> <input type="submit" value="Delete report"> <div id="content" class="report"> <h1>Available Reports </h1> <div id="description"><p> This is a list of available reports. </p> </div> <table class="listing reports">
Attachments (1)
Change History (6)
by , 18 years ago
Attachment: | report-delete.diff added |
---|
comment:1 by , 18 years ago
It seems that the <xi:fallback>
was evaluated even when $action == 'view'
and report_view.html
was successfully included. Genshi bug?
comment:2 by , 18 years ago
Also, inside the fallback, the closing </h1>
tag was not output, no matter what I tried. Another Genshi bug?
comment:3 by , 18 years ago
Keywords: | needinfo added |
---|
I agree that looks weird, however I can't reproduce it with Genshi trunk. Can you give a little more information?
- what version of Genshi are you running?
- how are you running Trac? (cgi, mod_python, etc)
- are your template directories set up correctly, with permissions too?
comment:4 by , 18 years ago
Keywords: | genshi added; needinfo removed |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
This is a Genshi bug, see #G80, which has a patch.
external resolution ;)
Wild guess how to fix this.