-
Notifications
You must be signed in to change notification settings - Fork 17
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
Confusion around meaning of name in Records and UI #373
Comments
I think the bug is in export const addDnsRequest = async (data: AddDnsRequestData) => {
const { username, type, subdomain, value } = data;
const fqdn = buildDomain(username, subdomain);
// Before running workflow. Add a record to DB
const recordId = await createUserRecord({
username,
type,
name: subdomain, // <--- should this be `fqdn` instead?
value,
}); |
Or is the issue that the front-end needs to construct the |
If we are renaming the name column to |
Yes, we can fix in front-end |
Yes, we're good. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A recent change has broken our code for string the
name
of a record in the db and UI.In the example below, you can see an old record I created, which shows the full name (ignore the missing
.
which is #359). The second record shows only the subdomain part, and is missing the rest:On staging, in the database, a similar thing is happening:
Is this related to @Genne23v's recent work to separate
subdomain
andfqdn
? What should we be storing forname
in the Records table (cc @cychu42).The text was updated successfully, but these errors were encountered: