Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There is a problem with line 107 ( all_artifact_types.delete_if { |v| configured_artifact_types.include? v } ). If you add Requirements module to a project and save settings, then when you try to do the same thing in another project - ReSetting::ARTIFACT_TYPES is empty. I suggest cloning ReSetting::ARTIFACT_TYPES before delete_if in this context. Failing use case: 1. Enable Requirements in project A. 2. Go to Requirements in project A, save settings. 3. Enable Requirements in project B. 4. Go to Requirements in project B, list of artifact types is empty. Save causes internal error.
- Loading branch information