epilogue icon indicating copy to clipboard operation
epilogue copied to clipboard

where 0 = 1 appended to list query count function

Open mark-lester opened this issue 8 years ago • 8 comments

Hi guys. Sorry, I know this is a me issue. we can post fine, but any lists have got a WHERE 0 = 1 appended to the count, and thus nothing happens. It works fine for me but when my chum installs it does this. So I am a bit stuck debugging. Most obliged for any hints that you may think of, and apologies for clogging up the issue list.

mark-lester avatar Apr 11 '16 14:04 mark-lester

@mark-lester can you provide a little more information here, like sample code for exhibit the issue: what the models look like, what your epilogue initialization code looks like, etc.

mbroadst avatar Apr 11 '16 14:04 mbroadst

hi matt, I'll try and narrow this down, as said I am remote user debugging. I will post a conclusion or try and get closer and give you something to work with

mark-lester avatar Apr 11 '16 14:04 mark-lester

the good news is, when I installed myself on aws it did the same thing, and then I realised this is a sequelize issue, cos the latest is 3.21, and that breaks, 3.19 was ok.

mark-lester avatar Apr 11 '16 15:04 mark-lester

@mark-lester okay, looks like we have an issue with sequelize 3.21 then you're saying?

mbroadst avatar Apr 11 '16 15:04 mbroadst

well yes. i stuck a message on the sequelize forum, but rather vague, of the form above.

mark-lester avatar Apr 11 '16 16:04 mark-lester

posts work which is the funny thing

mark-lester avatar Apr 11 '16 16:04 mark-lester

https://groups.google.com/forum/#!topic/sequelize/C6znexsJfto we've got something going on with $or, which has been changed.

mark-lester avatar Apr 12 '16 10:04 mark-lester

@mark-lester I encountered this same sequelize behaviour in an unrelated project. Thanks for the helpful comment!

meyer avatar Mar 30 '18 20:03 meyer