Skip to content

Fix project create service to use known columns

Raimund Hook requested to merge stingrayza-pushrule-attributes into master

What does this MR do and why?

Fixes the Project create service to only use columns that are known by the app, not those that are found in the DB.

Put together from suggestions by @krasio and @tkuah 🙏

Resolves #375571 (closed)

Relates to #375343 (closed)

Screenshots or screen recordings

How to set up and validate locally

  1. Run new test before applying fix to create_service.rb - test fails
  2. Apply fix to create_service.rb
  3. Re-run test - test passes

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Raimund Hook

Merge request reports