Toutouwai / PagesAtBottom

Keeps selected pages at the bottom of their siblings.
Mozilla Public License 2.0
2 stars 0 forks source link

SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry #1

Open cb2004 opened 2 years ago

cb2004 commented 2 years ago

This has started appearing when the page is submitted to change the order of the pages. I started noticing it on ProcessWire 3.0.206.

Toutouwai commented 2 years ago

I can't reproduce that here. If you can give steps to reproduce on a clean PW installation I'll investigate further.

Toutouwai commented 2 years ago

@cb2004, I did manage to reproduce this on a new site. Must be related to a recent core update. Seems to be fixed when I change a hook method to be attached during ready() rather than init(). Please upgrade to v0.1.4 for the fix.