Edgewall Software

Ticket #4979 (closed defect: worksforme)

Opened 22 months ago

Last modified 16 months ago

Issue w/ cookies and authentication

Reported by: eblot Owned by: jonas
Priority: normal Milestone:
Component: general Version: 0.10.3.1
Severity: normal Keywords:
Cc:

Description

I'm not sure how to describe this issue.

Error message

Missing or invalid form token. Do you have cookies enabled?

This does not seem to be a duplicate of either #4084 nor #4560, although it is likely related to the cookie management.

Step to reproduce

  1. As the anonymous user, edit some ticket (or some wiki page) without submitting the changes
  2. Log in on the system. Trac updates the page, and the web browser keeps the edited content - the ticket is not reset to the unaltered, original content.
  3. Attempt to commit the changes (with or without other modifications)

Expected behaviour

When the user logs in, the ticket edited fields should either be

  • reverted to the original content (unmodified changes would be discarded), or
  • preserved and committed without any error

The main trouble is that if the user as 'anonymous' logs in, then starts editing the ticket, he cannot submit any of the changes once he authenticates on the system. In other word, all the editing work is lost if he forgets to log in before starting editing the ticket.

Configuration

It happens at least with Omniweb (the latest version as well as the previous ones) and Trac 0.10.x; for example, on t.e.o.

Attachments

Change History

follow-up: ↓ 2   Changed 21 months ago by cboos

I can't reproduce this with either Firefox or Internet Explorer...

Proposing a wontfix here as this seems to be an Omniweb issue.

in reply to: ↑ 1   Changed 21 months ago by eblot

  • keywords needinfo added

Replying to cboos:

I can't reproduce this with either Firefox or Internet Explorer... Proposing a wontfix here as this seems to be an Omniweb issue.

It seems to be related to the underlying engine: WebKit. I'll try to use the latest snapshots of the WebKit engine for a couple of week to see if this issue has been resolved; WebKit being the engine for the upcoming Safari 3.x browser - that is the OOB browser for the Mac OS X platform.

  Changed 16 months ago by Jeffrey Hulten <jeffh@…>

Do we have any updates on this issue?

  Changed 16 months ago by eblot

  • keywords needinfo removed
  • status changed from new to closed
  • resolution set to worksforme

The latest versions of the WebKit? do not seem to suffer from this issue anymore.

Add/Change #4979 (Issue w/ cookies and authentication)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from jonas. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.