Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#4979 closed defect (worksforme)

Issue w/ cookies and authentication

Reported by: Emmanuel Blot Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.10.3.1
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

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 (0)

Change History (4)

comment:1 by Christian Boos, 17 years ago

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 comment:2 by Emmanuel Blot, 17 years ago

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.

comment:3 by Jeffrey Hulten <jeffh@…>, 17 years ago

Do we have any updates on this issue?

comment:4 by Emmanuel Blot, 17 years ago

Keywords: needinfo removed
Resolution: worksforme
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.