Skip to content

Roundtrip wiki aliases through export/import and copy wiki#3235

Merged
labkey-adam merged 5 commits intodevelopfrom
fb_copy_wiki_aliases
Apr 10, 2022
Merged

Roundtrip wiki aliases through export/import and copy wiki#3235
labkey-adam merged 5 commits intodevelopfrom
fb_copy_wiki_aliases

Conversation

@labkey-adam
Copy link
Copy Markdown
Contributor

@labkey-adam labkey-adam commented Apr 8, 2022

Rationale

Wiki aliases should be copied during folder export/import and copy wiki operations. https://www.labkey.org/home/Developer/issues/issues-details.view?issueId=45207

Related Pull Requests


if (null != aliases)
{
WikiManager.get().addAliases(wikiInsert, aliases, null);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we delete existing aliases if there aren't any being passed in?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need... this is insertWiki(), so there are no aliases associated with the brand new wiki.

@labkey-adam labkey-adam merged commit ec1d322 into develop Apr 10, 2022
@labkey-adam labkey-adam deleted the fb_copy_wiki_aliases branch April 10, 2022 15:52
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 this pull request may close these issues.

2 participants