EFForg / EFForg/action-center-platform

Make it so app works without CiviCRM

Open
#40 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
539
Forks
73
PR merge metrics
No merged PRs in 30d

Description

Without doing much investigation, I just hit the below error while running a cucumber test in a private branch:

```
ActionView::Template::Error: uninitialized constant CiviCRM::SUPPORTERS_API_KEY
from /home/kentos/dev/work/web/action-center-platform/lib/civicrm.rb:91:in `base_params'
```

application.yml doesn't define a CiviCRM in my test env.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in lib/civicrm.rb around line 91, where base_params raises the missing CiviCRM::SUPPORTERS_API_KEY error, and check how application.yml is used in the test environment. Reproduce the failure with the cucumber test mentioned in the issue; done means the app and test run without CiviCRM configuration or this constant error.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.