Actions
Bug #298
closedUnknown association on ProjectType when trying to create table
Start date:
04/26/2021
Due date:
% Done:
100%
Estimated time:
Affected Version:
Compatible Redmine Version:
Pull Request Link:
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'
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