Skip to content

HasMany: Update > valdiation error Message > update again >The object being updated is outdated. #174

@strtob

Description

@strtob

Hi,

This extensions make yii great for me! Complement!

I've got just one thing, which propaberly not working correctly:

  • I've generated CRUD with hasMany Forms as TabularForm
  • If I make an update and got an validation error due to not matching some rules, e.g. forgot to fill a required field, a error hint is shown (this is fine)
  • Now I correct the the mistake and fill the required field and update again I got the error: The object being updated is outdated.

It seems that some forms will not be field with the lock id correctly after the first update and have then an outdated id.

Does anyone have an idea, how to correct this???

Many thanks in advance!!!

Toby

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions