bugMapOSMatic - Bugs: bug #28488, It is not possible to cancel a...

 
 

bug #28488: It is not possible to cancel a rendering request

Submitter:  David Mentré <dmentre>
Submitted:  Tue 05 Jan 2010 02:29:22 PM UTC
   
 
Category:  daemon Severity:  3 - Normal
Priority:  * 5 - Normal Status:  Fixed
Privacy:  Public Assigned to:  mpetazzoni
Open/Closed:  Closed Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Tue 13 Jul 2010 12:29:39 PM UTC, comment #8: 

Done and in production.

Maxime Petazzoni <mpetazzoni>
Group administrator
Sun 20 Jun 2010 10:57:54 PM UTC, comment #7: 

A patch has been proposed for this on the list, awaiting review.

Maxime Petazzoni <mpetazzoni>
Group administrator
Tue 11 May 2010 02:57:18 PM UTC, comment #6: 

Taking this. This somewhat goes together with the ability to re-schedule a job in terms of interface, so I might as well do both at the some time.

Maxime Petazzoni <mpetazzoni>
Group administrator
Fri 08 Jan 2010 12:25:28 PM UTC, comment #5: 

I see.

Session cookies on the other hand have the completely understandable habit of expiring at the end of the session, which is good of course.

While a lot of people tend to keep their browsers open until they fall over (the browser, not the people), some might bookmark the page and come back to it later.

So how about MapOSMatic instead do this:
- Visitor submits job
- MapOSMatic redirects to http://www.maposmatic.org/jobs/<id>/<nonce>

Cancellation requests are honoured if the nonce is included, and cancelling a job isn't offered if someone visits http://www.maposmatic.org/<id> or http://www.maposmatic.org/jobs/<id>/<wrong nonce>

Jeroen van Rijn <jvrnix>
Group Member
Fri 08 Jan 2010 12:18:30 PM UTC, comment #4: 

We avoided using email altogether to avoid spam issues.

David Mentré <dmentre>
Group administrator
Fri 08 Jan 2010 12:15:33 PM UTC, comment #3: 

In fact the email address you gave would probably suffice as a nonce in itself.

"To confirm cancellation of this pending job request, please enter the email address you used earlier."

Along with a FAQ entry on how the email address will be scrubbed from the job database when the job has completed, after being used to mail the 'job complete' status report obviously.

Jeroen van Rijn <jvrnix>
Group Member
Fri 08 Jan 2010 12:10:23 PM UTC, comment #2: 

Maybe when first taken to the newly minted job page (or on submission of the job request), offer to give MapOSMatic your email address.

This could then be used to:
- Send a confirmation of the job request, along with the current estimated time it'll start. This could include a nonce that can be used to confirm a job cancellation.

- Send the user an email when the job has completed, including links to their maps. This might in turn be beneficial to the server load in that people are less tempted to refresh the job page every 15 minutes to see where there job is at in the queue.

Regards,
Jeroen.

Jeroen van Rijn <jvrnix>
Group Member
Tue 05 Jan 2010 02:49:41 PM UTC, comment #1: 

The user cancelling the job should be authenticated in some way.

Using a session specific cookie?

David Mentré <dmentre>
Group administrator
Tue 05 Jan 2010 02:29:22 PM UTC, original submission:  

There should be a way to cancel a rendering request (for example because it would take too much time).

David Mentré <dmentre>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mpetazzoni (Posted a comment)
  • -email is unavailable- added by jvrnix (Posted a comment)
  • -email is unavailable- added by dmentre (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-07-13 mpetazzoni StatusIn Progress Fixed
        Open/ClosedOpen Closed
    2010-05-11 mpetazzoni StatusNone In Progress
        Assigned toNone mpetazzoni
    2010-01-05 dmentre SummaryIt is not possible to cancel a rendreing request It is not possible to cancel a rendering request

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code