Custom Query (1173 matches)
Results (169 - 171 of 1173)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#5369 | fixed | Broken activities cause database migration errors | ||
Description |
Per the conversion on the devel list, activities which have deleted media cause issues in migrations such as 29 and 42. These migrations expect activity objects or targets to be non-null, so they don't know how to handle activities with deleted objects. |
|||
#920 | fixed | Broken migration for #894 | ||
Description |
tl;dr the index-add on User.username might be broken. If it is, this is a blocker. Intro
We used to have On most (if not all) databases, a UniqueConstraint will create an internal index, so that checking the constraint is reasonably performant. This is different from an actual index (with or without uniqueness attribute) in a concptual way. Whether this is a real difference on a database, is another story.
According to the sqlalchemy docs Situations(These are the situations I expect after reading our code and the docs.) Old schema::
Old schema + migration
New schema, when creating database anew::
As you can see, the situation with migration or building from scratch are different. How to verify
If the indexes / pg_dump differ, then something is wrong and this bug is a valid. Otherwise, I'd love to know, what's wrong with my assumptions. |
|||
#5336 | duplicate | Bug in media types extension parsing | ||
Description |
As reported by Michael Macnair in the mailing list (Thanks!): media_types/__init__.py:109: if filename.find('.') > 0: should be: if filename.find('.') >= 0: Because otherwise files of the form "./blah.mp4" don't work, which happens with the localfiles plugin. Ditto for line 87. Cheers, Michael |