Skip to content
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

Joomla - Implement getUfId(). Fix @user:<name>. #19615

Merged
merged 1 commit into from
Feb 18, 2021

Conversation

totten
Copy link
Member

@totten totten commented Feb 17, 2021

Overview

APIv3 includes shorthand support for referencing a contact by their username, e.g.

cv api contact.get id=@user:admin return=display_name

Before

On Joomla, this emits an error because getUfId($username):int is not implemented.

After

On Joomla, this works.

Comments

There is implicit E2E test-coverage in the pending work for authx (#19590).

Overview
--------

APIv3 includes shorthand support for referencing a contact by their username, e.g.

```
cv api contact.get id=@user:admin return=display_name
```

Before
------

On Joomla, this emits an error because `getUfId($username):int` is
not implemented.

After
-----

On Joomla, this works.

Comments
--------

There is implicit E2E test-coverage in the pending work for authx.
@civibot
Copy link

civibot bot commented Feb 17, 2021

(Standard links)

@seamuslee001
Copy link
Contributor

This looks good to me merging

@seamuslee001 seamuslee001 merged commit 47fa1f0 into civicrm:master Feb 18, 2021
@totten totten deleted the master-joomla-getufid branch February 19, 2021 00:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants