Ticket #802 (new Task)

Opened 3 years ago

Last modified 2 years ago

Django 1.2 validatoin bug

Reported by: bryan Owned by: gerry
Priority: minor Milestone: V1.2 Questionnaire release
Component: WP6 - CIM Creation Tools Version:
Keywords: qctool Cc: domlowe,gerry
Requirement: http://metaforclimate.eu/Work-Package-2/Developing-the-CIM/Project-Requirements-summary.htm

Description

It appears that there might be a bug in some cases where a statement like

ok= myform.is_valid()

might fail with an error where there is a foreignkey without null=True in the underlying model and an empty instance is passed for validation.

This can be trapped, but I need to chase it down.

It could affect the questionnaire as well as the qctool.

Change History

comment:1 Changed 3 years ago by bryan

  • Milestone changed from V1.0 CMIP5 Questionnaire Release to V1.1 Questionnaire Release

comment:2 Changed 2 years ago by bryan

  • Owner changed from bryan to gerry
Note: See TracTickets for help on using tickets.