Coder Social home page Coder Social logo

Comments (8)

kotowicz avatar kotowicz commented on May 21, 2024

I can't reproduce this. Please provide the full error message if possible.

from django-helpdesk.

JDoe avatar JDoe commented on May 21, 2024
Page not found (404)
Request Method: GET
Request URL:    http://mysite.com/view/&close
Using the URLconf defined in djangosite.urls, Django tried these URL patterns, in this order:
^admin/doc/
^admin/
^dashboard/$
^tickets/$
^tickets/update/$
^tickets/submit/$
^tickets/(?P[0-9]+)/$
^tickets/(?P[0-9]+)/followup_edit/(?P[0-9]+)/$
^tickets/(?P[0-9]+)/edit/$
^tickets/(?P[0-9]+)/update/$
^tickets/(?P[0-9]+)/delete/$
^tickets/(?P[0-9]+)/hold/$
^tickets/(?P[0-9]+)/unhold/$
^tickets/(?P[0-9]+)/cc/$
^tickets/(?P[0-9]+)/cc/add/$
^tickets/(?P[0-9]+)/cc/delete/(?P[0-9]+)/$
^raw/(?P\w+)/$
^rss/$
^reports/$
^reports/(?P\w+)/$
^save_query/$
^delete_query/(?P[0-9]+)/$
^settings/$
^ignore/$
^ignore/add/$
^ignore/delete/(?P[0-9]+)/$
^$
^view/$
^rss/(?P.*)/$
^api/(?P[a-z_-]+)/$
^login/$
^logout/$
^kb/$
^kb/(?P[A-Za-z_-]+)/$
^kb/(?P[0-9]+)/$
^kb/(?P[0-9]+)/vote/$
^api/$
^help/context/$
^system_settings/$
The current URL, view/&close, didn't match any of these.
You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page.

from django-helpdesk.

JDoe avatar JDoe commented on May 21, 2024

I'll try installing the django debug tool in case the above doesn't help either. Thank you.

from django-helpdesk.

kotowicz avatar kotowicz commented on May 21, 2024

I don't understand how you get to the url http://mysite.com/view/&close

from django-helpdesk.

JDoe avatar JDoe commented on May 21, 2024

I get to the URL by clicking on the "Accept" icon as shown in
http://img585.imageshack.us/img585/9143/capj.png

This page is obtained on clicking the link @
http://mysite.com/view/?ticket=travel-8&[email protected]

The link is from an email generated on resolving a ticket.

from django-helpdesk.

JDoe avatar JDoe commented on May 21, 2024

./public_view_ticket.html: <th colspan='2'>{% trans "Resolution" %}{% ifequal ticket.get_status_display "Resolved" %} <a href='{{ request.ge t_full_path }}&close'><img src='{{ MEDIA_URL }}/helpdesk/buttons/accept.png' alt='{% trans "Accept" %}' title='{% trans "Accept and Close" %}' width='60' height='15' /></a>{% endifequal %}</th>

from django-helpdesk.

rossp avatar rossp commented on May 21, 2024

I've just fixed this. It looks like it would have been an error if you had changed anything on the ticket and then clicked submit, meaning the url ended up as '/view/' rather than /view/?ticket=....'.

The patch uses the existing method ticket_url on the Ticket instance, and appends the '&close' to that so a properly formed query string will always be built.

from django-helpdesk.

JDoe avatar JDoe commented on May 21, 2024

please excuse the delay in responding..i was out of town for a few days.
in any case, i tested the fix and it works great. thank you.

from django-helpdesk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.