Edgewall Software
Modify

Ticket #4979 (closed defect: worksforme)

Opened 5 years ago

Last modified 4 years 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:
Release Notes:
API 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

Change History

comment:1 follow-up: Changed 5 years 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.

comment:2 in reply to: ↑ 1 Changed 5 years 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.

comment:3 Changed 4 years ago by Jeffrey Hulten <jeffh@…>

Do we have any updates on this issue?

comment:4 Changed 4 years ago by eblot

  • Keywords needinfo removed
  • Resolution set to worksforme
  • Status changed from new to closed

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

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from jonas. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.