-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Two instances of missing parameters causing scenario failures #841
Comments
Hi @mpkut, Could you please show us the steps to reproduce the second case? I.e.:
Please describe such as: 'Go to the page "...", click "..." button, enter "..." into "..." textbox, ...'. |
Hi @ikedas, This procedure requires two Sympa accounts, which I will call userA and userB.
Please let me know if there is any other information I can provide. WRT to impact on our site, we have put in a small one-line patch to set a default value of |
@mpkut, |
Hello @ikedas, I applied the patch to the stock 6.2.52
It seems that these changes have addresses both issues we have encountered. Thank you so much for such a quick turnaround! BTW a side comment. I had to stare at the conditional that is now in
|
On second thought, index() avoids any issues of list names that may have regex characters. Side comment retracted. :-P |
@mpkut, thanks for confirming fixes quickly. I'll merge it soon, Well, |
Version
6.2.52
Installation method
Local RPM build using unmodified Fedora/EPEL SPEC file and unmodified 6.2.52 release tag
Expected behavior
Actual behavior
The common element is the
Missing parameter
text, which tracks to line 590 ofsrc/lib/Sympa/Scenario.pm
:This appears to be from commit 11a54e6. The prior code just returns
undef
:It seems that some scenarios have relied on the previous behavior where missing parameters are inferred to be empty. I am reluctant to suggest a specific change to the current check but perhaps there is a way to log and return a suitable empty value that doesn't break the intent of the patch?
Thanks as always for Sympa and the work you do!
The text was updated successfully, but these errors were encountered: