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

🙅 [PROBLEM]: Site ID must start with a letter and contain only letters, numbers and underscores #76

Closed
paddyroddy opened this issue Feb 21, 2024 · 0 comments · Fixed by #84

Comments

@paddyroddy
Copy link
Member

Problem Description

There is no validation of Site ID, so it complains if you don't follow the specification.

The id used to refer to this site (also used to generate database ids). The Site ID must start with a letter and contain only letters, numbers and underscores. No spaces or non-alphanumeric characters.

Acceptance Criteria

Related Work Items

No tasks being tracked yet.
paddyroddy added a commit that referenced this issue Feb 21, 2024
> The id used to refer to this site (also used to generate database
ids). The Site ID must start with a letter and contain only letters,
numbers and underscores. No spaces or non-alphanumeric characters.

Note, this does not address #76, but at least makes the `site_name` here
valid according to XNAT.
p-j-smith added a commit that referenced this issue Mar 25, 2024
Fixes #76 

- check that `xnat_config.site_name` starts with a letter and contains
only letters, numbers, and underscores

---------

Co-authored-by: Patrick J. Roddy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant