-
Notifications
You must be signed in to change notification settings - Fork 7
Issue 53586: Domain field with long name can result in "PropertyURI cannot exceed 300 characters, but was 302 characters long." #6939
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
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
2b62d6a
Issue 53586: DomainUtil.createUniquePropertyURI to replace non AlphaN…
cnathe 69c5875
Try using LsidManager.getLsidPrefixDbSeq() instead of including the p…
cnathe 2bb36e5
Merge branch 'develop' into fb_propertyURILength
cnathe d254d2e
DomainImpl.addProperty to use DomainUtil.createUniquePropertyURI()
cnathe 326cb82
use DomainUtil.createUniquePropertyURI()
cnathe 80ea02b
use DomainUtil.createUniquePropertyURI()
cnathe d5cacd9
remove unused method
cnathe c5f27cb
Merge branch 'develop' into fb_propertyURILength
cnathe 5494d5f
use DomainUtil.createUniquePropertyURI()
cnathe 6dc5187
Merge branch 'develop' into fb_propertyURILength
cnathe 4df4567
Merge branch 'develop' into fb_propertyURILength
cnathe 3376dd0
Merge branch 'develop' into fb_propertyURILength
cnathe 4d3921f
Merge branch 'develop' into fb_propertyURILength
cnathe 130b9d1
Merge branch 'develop' into fb_propertyURILength
cnathe eccbdd3
DomainUtil.createUniquePropertyURI to use CaseInsensitiveHashSet
cnathe a5375ed
Merge branch 'develop' into fb_propertyURILength
cnathe 54e6b43
DomainUtil.addProperty() usages to use CaseInsensitiveHashSet for pro…
cnathe eb6c048
Merge branch 'develop' into fb_propertyURILength
cnathe cfdee71
PropertyController TestCase fix for setup and cleanup of Domain
cnathe 7f727ad
Merge branch 'develop' into fb_propertyURILength
cnathe 74ccfba
Merge branch 'develop' into fb_propertyURILength
cnathe ba466af
Nab test fix for SQL selects that were looking for run properties by …
cnathe 62f8409
Merge branch 'develop' into fb_propertyURILength
cnathe 8af1af7
Domain.addProperty method with option to provide your own propURISuffix
cnathe b29e72f
DataIteratorUtil._createTableMap to not include PropertyURI suffix as…
cnathe 9404ebe
add issue number for XarExporter.getPropertyName
cnathe f28eae2
VocabularyDomainKind propertyURI to continue using field name as suffix
cnathe f303565
VocabularyDomainKind propertyURI test case to check for "ends with fi…
cnathe 4b2bac4
Move Lsid.encodePart() within addProperty()
cnathe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This behavior seems strange now. It's not really returning the property name for (most) new-style PropertyURIs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@labkey-jeckels I agree but I don't think this code can actually be hit for any newly created properties. It is executed for Sample Types that have the parentCol, idCol1, idCol2, idCol3 behavior which is deprecated. I couldn't find a way in the UI to create one of these. I took the XAR file from that issue 30718 and imported it locally and this code did the right thing for those PropertyURIs in the XAR. Thoughts on other ways to test this? Since you can't create these types of Sample Types anymore, I think the code should continue working for any existing property descriptors in those deprecated sample types.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it. I hadn't looked at the usages. Do you think we should mark this or related methods as deprecated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I'll take a look