Doesn't work without clean urls.

voipfc - October 29, 2009 - 19:35
Project:Autosave
Version:HEAD
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

I have installed autosave 6.x-2.x-dev and there are no signs on the screen that its working correctly,

What are the indicators that it is working properly?

#1

liquidcms - October 29, 2009 - 21:07

did you enable it for one of your node types?

if you do, you should see a popup (its pink) at the bottom of your browser window; default time for this is every 5 min.. so will take at least that long to see it. edit this and set to 5 sec to check if its working.

#2

voipfc - October 29, 2009 - 22:05

I configured it one of the content types, the popup shows.

When a version is autosaved how can it be restored?

When close the browser tab without saving, and I view the page to start editing it, I expect to return to the point it was before autosaving, but it appears to revert to the previously saved version.

Is there some indicator on the editing page that shows the autosaved version and allows me to return to it?

#3

liquidcms - October 30, 2009 - 04:48

if you begin editing a page that has autosaved a form you should get a similar popup that asks if you want to view or ignore the AS version

if you don't then possibly the install didnt work correctly - do you have a table called autosaved_forms? and does it have any records?

#4

voipfc - October 30, 2009 - 10:50

A table named autosaved_forms has been created in the database, and I get a blue popup rising at the bottom of the screen saying that the current form has been autosaved, but the table itself remains empty.

#5

voipfc - October 30, 2009 - 14:17
Category:bug report» support request

It is working as you described now. It appears to have a dependency on clean urls.

It started working properly after I turned on mod_rewrite and got clean urls working.

#6

liquidcms - October 30, 2009 - 20:25
Title:No sign that autosave is working» Doesn't work without clean urls.
Status:active» won't fix

hmm.. interesting.. wouldn't have thought a dependency on clean urls but perhaps.. not sure i'll both to fix that as i personally do not understand reasoning behind NOT always having clean urls.

but if someone wants to supply a patch; will gladly commit

changed title accordingly

thanks for testing.

#7

edmund.kwok - October 31, 2009 - 03:57
Component:User interface» Code
Category:support request» bug report
Status:won't fix» needs review

Patch to fix clean urls ;)

AttachmentSize
autosave-clean-url.patch 948 bytes

#8

liquidcms - October 31, 2009 - 21:01

thanks Ed, and good to see you are still around.

i have committed your patch to HEAD (not sure if that's enabled on project page; i'll check) - i'll do a release after i sort out #619300: Autosave stops working after disabling rich text

 
 

Drupal is a registered trademark of Dries Buytaert.