Log in as an administrator. Go to "administrattion" tab, then select "custom fields".
Click on "New custom field". Expected: New custom field form shows. Actual: nothing happens.
Cause: the "New custom field" link includes some JavaScript to figure out which tab is selected; it uses this to figure out the "onclick" action. When there are no custom fields, there are no tabs, and therefore the JavaScript fails to generate a valid URL for the onclick.
Environment: Redmine version 4.0.4.devel Ruby version 2.3.7-p456 (2018-03-28) [universal.x86_64-darwin18] Rails version 5.2.3 Environment development Database adapter SQLite Mailer queue ActiveJob::QueueAdapters::AsyncAdapter Mailer delivery smtp SCM: Subversion 1.10.3 Git 2.19.0 Filesystem Redmine plugins: no plugin installed