Problem with saving any block reaction in context

Events happening in the community are now at Drupal community events on www.drupal.org.
carmoticon's picture

Using OP 2.1-119, btw a really "awesome" piece of sw, but I'm now in a dead lane because of a strange context behaviour I cannot say if it's a bug or a feature. Every time I edit a context, both predefined or newly created, I can save everything but block reactions. For predefined context, for example, when I edit again the context, the block reaction has disappeared (I checked even in the DB).
The OP doc seems referring to a previous version and context or features doc was no clue for me. I digged through all d.o but could not found any else with the same problem. Installed from scratch 3 times. I'm not so new with Drupal, but I'm lost.
My software stack: Linux Debian Lenny, Apache 2.2.9, Mysql 5.0.5, PHP 5.2.6.
Someone can give any tip in the right direction?

carmoticon

Comments

I was having this problem

Tran's picture

I was having this problem ...
If it's the same as a problem I had at one site, each time i edited the context, the path would change because the FCK editor was enabled.

I was having this problem

Tran's picture

I was having this problem ...
If it's the same as a problem I had at one site, each time i edited the context, the path would change because the FCK editor was enabled.

I resolved updating Firefox...

carmoticon's picture

After midek post I suddenly reminded this tirdadc's post: http://groups.drupal.org/node/84199#comment-263124 in which he suspected JS problems and suggested "checking for JS errors using Firebug's console". Well, I found a "JSON is not defined" error (here: "$('form input.context-blockform-state').val(JSON.stringify(this.state));\n" that prevented the JS in the page to successfully complete.
I updated Firefox to latest 3.6.8 (I had an old 3.0.19), and every problem disappeared. Sure it was as stupid as this... Don't ask why I did not think to a browser problem...
Now I go on with my project. Thanks to the group and to OpenPublish developers.

Carmoticon

Had the same problem on IE8

HenrikMA's picture

Couldn't get the reactions to work and the browser was IE8 So based on the carmoticon's post, I tried FF 3.6.10 and now it works.

HenrikMA

I have the same problem. On

BarisW's picture

I have the same problem. On Firefox it's working, but on IE8 all data is lost after saving..

Kind regards, Baris Wanschers

Same problem here...

Crom's picture

Subscribing: My problem is similar but I'm not sure it's browser based. I have two separate sites, both using similar context. One one site, edits I make to Context save perfectly. However, on the other site, Context tells me the that edit has been saved but when I open it up again...it hasn't been.

I'll have a root around but I'd be interested to hear possible solutions!

Cheers,
Crom

Same problem here...

clkeenan's picture

I believe I'm having this same issue. I've tried FF 3.6.13, Google Chrome, and IE8. None of them have saved the block settings which sucks as it's kind of a deal breaker for using the module. Anyone find a good work around?

subscribing...

stephenrobinson's picture

I get:

Error: JSON is not defined
Source File: http://foobar.ac.uk/sites/all/modules/contrib/context/plugins/context_re...
Line: 76

Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.0.7) Gecko/2009021906 Firefox/3.0.7

Oh also if I clone a context, the reactions are lost....

OpenPublish

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: