Going to 'Add a View', entering some data, and clicking 'Save and Edit' takes you back to the same page as expected, but the data is gone.

Comments

joachim’s picture

... though on my return to the main Views page, I see the new view was created.

dman’s picture

Ditto.
Saving once gets it into the database, and it starts working, but on edit, the (textarea) fields are not being re-populated correctly, so on save the working settings are over-written with blank.

To reproduce:
Create a view. Save. Test. OK.
Edit the view. Add some header and footer text. Save. Test. Probably Worked.
BUT
Edit that view. Make no changes. See that the header/footer fields have come up blank. Save, without changing anything. - previously working view now has lots that data.

Version 1.166.2.6 2007/01/21
... hm, that's pretty old. Maybe I'll try HEAD. This may be fixed

dman’s picture

Hm, reproducing doesn't work :)
I try debugging and the problem goes away. for now. Grr.

I should also mention there may have been a conflict with tinmce textarea that kept loading all over my stuff.

wmostrey’s picture

Title: Clicking save and edit on a new view forgets the entered data » Clicking "save and edit" on a new view goes back to the "add view" page

Reproduction isn't hard:

1/ Go to the "Add view" page
2/ Fill in the title and click "Save and edit".

The view is created but you are taken back to a new "Add view" page instead of the "Edit view" of the newly created view.

merlinofchaos’s picture

Fixed in -dev.

merlinofchaos’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)