Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.2.0
-
Fix Version/s: 4.2.1
-
Component/s: Core CiviCRM
-
Labels:None
Description
In CRM/Member/BAO/Membership.php, when using import.php to add Memberships, adding the following bit of error output would've saved me an hour or so:
$error['is_error'] = ts('The membership cannot be saved. No valid membership status for given dates. Please provide at least start_date. Optionally end_date and join_date');
instead of just:
$error['is_error'] = ts('The membership cannot be saved. No valid membership status for given dates');
I had no clue from "what" I had to add to please CiviCRM. Not until I started debugging and look in the code.