FLUID-2393: Cookies are not saved: Using Opera

Metadata

Source
FLUID-2393
Type
Bug
Priority
Critical
Status
Closed
Resolution
Fixed
Assignee
Michelle D'Souza
Reporter
Justin Obara
Created
2009-03-23T11:27:15.000-0400
Updated
2009-03-25T10:07:52.000-0400
Versions
N/A
Fixed Versions
  1. 1.0
Component
  1. UIEnhancer
  2. UI Options

Description

Cookies are not saved: Using Opera

Steps to reproduce:

1) Open the UI Optinos example
http://build.fluidproject.org/fluid/fluid-components/html/templates/UIOptions.html

2) Change some option and save

3) Refresh the page, notice that the changes are reset

This also causes errors in the UIEnhancer unit test page

Environments

Opera 9.6 (Mac OS 10.5, Win XP)

Comments

  • Justin Obara commented 2009-03-23T11:27:37.000-0400

    Bug Parade 1.0 release

  • Justin Obara commented 2009-03-23T11:55:14.000-0400

    It appears that Opera doesn't like double quotes (") in the cookie. It will accept single quotes (') though

  • Michelle D'Souza commented 2009-03-24T15:16:22.000-0400

    I fixed the issue by not storing the cookie using JSON.

  • Michelle D'Souza commented 2009-03-24T16:31:31.000-0400

    Colin review this and suggested using JSON and URI encoding.

  • Michelle D'Souza commented 2009-03-24T16:41:40.000-0400

    Using JSON and URI encoding works fine in Opera.

  • Jacob Farber commented 2009-03-25T10:04:10.000-0400

    Looks good.

  • Justin Obara commented 2009-03-25T10:07:52.000-0400

    Verified fix using:

    Opera 9.6 (Mac OS 10.5, Win XP)