Ticket #699 (closed Bug: fixed)

Opened 2 years ago

Last modified 2 years ago

bug in adding modelmods

Reported by: gerry Owned by: gerry
Priority: blocker Milestone: V1.1 Questionnaire Release
Component: WP1 - Project Management Version: beta
Keywords: Cc: bryan
Requirement: http://metaforclimate.eu/Work-Package-2/Developing-the-CIM/Project-Requirements-summary.htm

Description (last modified by gerry) (diff)

An error arises when adding modelmods (coming from the simulation page). The cause of this error is that in the Modification class in models.py, the get_parent_model method refers to 'Modifications' with an 's'. I have changed this but need to check this fix with someone as I don't want to resync my sqlite.db at the moment.

Change History

comment:1 Changed 2 years ago by gerry

  • Status changed from new to closed
  • Resolution set to fixed
  • Description modified (diff)

I checked this fix with an up-to-date version of the code and it works okay.

Note: See TracTickets for help on using tickets.