Skip to content

Item Editor inline creation triggering not compatible with Django 1.5 #390

Closed

Description

@DrMeers

In fact since the change in django/django@b719cbb90#L0L119 , https://github.com/feincms/feincms/blob/master/feincms/static/feincms/item_editor.js#L187 no longer correctly detects successful inline creation, so creates multiples. The extra (invisible) inlines can also cause hidden ValidationErrors. I'm looking into a fix for this now, but would be surprised if this hasn't already been reported elsewhere?

Activity

  1. added a commit that references this issue on Feb 25, 2013
    f48098e
  2. matthiask commented on Feb 25, 2013

    @matthiask
    Member

    Thanks! Does this fix work with Django 1.4 too, or only with the upcoming 1.5?

  3. DrMeers commented on Feb 25, 2013

    @DrMeers
    ContributorAuthor

    Yes, it should be the same for both. I can't see why I didn't write it this way in the first place actually (which concerns me slightly...). The only reason I could imagine it failing this way is if the handler gets triggered asynchronously, but I'm pretty sure they don't work that way.

  4. added a commit that references this issue on Feb 26, 2013
    d10298f
  5. added a commit that references this issue on Mar 10, 2014
    0fee508
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions