﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
19513	update() after annotate(val=Sum(...)) crashes on PostgreSQL & Oracle	mengzhuo1203@…	nobody	"An QuerySet operation like:
Combination.objects.all().update(tag='TagName')

The structure like:
{{{
class Combination:
    items = ForeignKey(Item)
}}}
{{{
CombinationManager:
    def get_query_set(self):
        qs = super(CombinationManager, self).get_query_set()
        qs = qs.annotate(price=Sum('items__price'))
}}}
The SQLite and MySQL runs fine with such structure, not with Oracle, it will encounter ""ORA-00913: too many values""


"	Bug	closed	Database layer (models, ORM)	1.4	Normal	fixed			Accepted	1	0	0	1	0	0
