Project

General

Profile

Actions

Bug #298

closed

Unknown association on ProjectType when trying to create table

Added by liaham almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
04/26/2021
Due date:
% Done:

100%

Estimated time:
Affected Version:
Compatible Redmine Version:

Description

ERROR TableCaclulation::ProjectPatchTest#test_should_have_tables (1.52s)
Minitest::UnexpectedError: ActiveRecord::AssociationNotFoundError: Association named 'tables' was not found on ProjectType; perhaps you misspelled it?
plugins/redmine_table_calculation/test/unit/project_patch_test.rb:47:in `block in class:ProjectPatchTest'

Actions #1

Updated by liaham almost 4 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Moved

:has_and_belongs_to_many :tables
:has_many :spreadsheets

to ProjectType class because inheritance does not work due to whatever reason.

Actions #2

Updated by liaham almost 4 years ago

  • Target version changed from 1.0.0 to 0.1.0
Actions

Also available in: Atom PDF