-
-
Notifications
You must be signed in to change notification settings - Fork 814
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
Add rule for separation #11916
Add rule for separation #11916
Conversation
Issue CRM-21859 Form for adding activities doesn't validate field Activity Separation when is called from list of contacts
Can one of the admins verify this patch? |
Jenkins ok to test |
I just spotted a risk here - the separation field is not always added to the form - so making it always required would potentially make a non-existent field required.
Suggestion |
If you view all if there is where rule is created
|
AH ok - what does adding a required rule add compared to passing the param required? (I think the latter is more common) |
@yashodha this seems to tie in with a ticket you logged so perhaps you could review it? |
Cross referencing with #12223 |
I still think this should be passin $isRequired not addin a rule
calling
|
I'm gonna close for now & you can re-open if you address - I think maybe you've moved on as no reply to comment in April |
Issue CRM-21859
Form for adding activities doesn't validate field Activity Separation when is called from list of contacts
Overview
Resolve issue when create an activity from contact search and can make a separation this separation isn't required
Before
Open page "Find Contacts" and click "Search"
Select first 50 records
Click on "Actions" field and choose "Add activity" (Selected contacts are in With contacts field)
Choose Meeting, clear Date and Time fields
Click Save button
Effect: The form doesn't validate the field "Activity Separation" and activity is created. There should be a warning "Activity Separation is a required field"
After
Open page "Find Contacts" and click "Search"
Select first 50 rekords
Click on "Actions" field and choose "Add activity" (Selected contacts are in With contacts field)
Choose Meeting, clear Date and Time fields
Click Save button
Effect: The form validate the field "Activity Separation" and activity is created and show a warning "Activity Separation is a required field"
Technical Details
Just add a rule for make required a separation when this is created