Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reordering inlines triggers 'This field is required error' #1

Open
proppy opened this issue May 27, 2010 · 3 comments
Open

Reordering inlines triggers 'This field is required error' #1

proppy opened this issue May 27, 2010 · 3 comments

Comments

@proppy
Copy link

proppy commented May 27, 2010

Hi,

Here are the steps to reproduce this issue:

  • Run manage-tests.sh runserver
  • Go to admin
  • Add a new book
  • Fill Name, Author, Pages, and 3 chapters
  • Click 'Save and continue editing'
  • Reorder the 3 chapters using drag n drop
  • Leave the 3 empty chapters unchanged
  • "This field is required error" is triggered for the 3 empty chapters

Feel free to tell me if you need more informations.

@tkaemming
Copy link
Owner

Thanks for bringing this to my attention. I'm working on a patch for this, and should have it done within the next few days.

@bendavis78
Copy link

Any luck on fixing this?

@bendavis78
Copy link

A quick fix for this would be to only allow ordering on existing objects. You can check out my fix for this on my fork: https://github.com/bendavis78/django-orderable. The long-term fix would have to implement some way of checking for whether or not any fields other than the "order" field have changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants