Download & Extend

Attempting to enable testing mode clears the API keys

Project:Mollom
Version:7.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)

Issue Summary

On /admin/config/content/mollom/settings I can Save Configuration normally, but when I want to Enable Testing Mode the API Key fields are cleared and there is a message "The configuration options have been saved." along with an error message "The Mollom API keys are not configured yet."

Comments

#1

Version:7.x-2.3» 7.x-2.x-dev
Status:active» postponed (maintainer needs more info)

Hm. I'm not able to reproduce this.

Did you do anything special while submitting the settings form?

#2

It now works OK for me! It was repeatable at the time. I notice that when I set test mode the public and private keys get changed, and it's a different value each time. Perhaps the module was failing to retrieve those test keys when I was having the problem. Would a failure to retrieve test keys explain the issue?

#3

Glad to hear! :)

Hm. Technically, that might be a possible explanation. The REST Testing API is a total "mock" service that's really simple and small though, and I don't think that service ever was down.

Just to clear a detail up: When you disabled testing mode, did you see your original/real API keys again? Or were they lost, too?

#4

Sorry, @sun, I can't remember that detail, and I can't reproduce the issue.

I think the original/real keys were lost, as I have a vague recollection I had to look them up. I'm sorry I can't be more helpful, and I'd hate to send you on a wild-goose-chase.

Ken

nobody click here