Skip to content

Conversation

@briri
Copy link
Contributor

@briri briri commented Aug 23, 2017

This patch updates the seeds.rb file that new installations use to seed their database tables. The file was missing the question_formats.formattype field and the token_permissions_type table was missing entries for 'templates' and 'statistics'

@briri briri changed the title Development Fix for Question Format issue #603 Aug 23, 2017
@briri briri requested a review from jollopre August 23, 2017 17:10
Copy link
Contributor

@jollopre jollopre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well spotted Brian, we did not seed these format types. The reason of the oddity is due to the front using the enum types for displaying the questions types whereas the admin is using string comparison. We should update everything to use enum types when bootstraping the admin part.

@jollopre
Copy link
Contributor

@jollopre jollopre merged commit fced606 into DMPRoadmap:development Aug 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants