Modify ↓
Opened 4 years ago
Last modified 4 years ago
#21129 new enhancement
Warn about missing primary key for all known relations
| Reported by: | skyper | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core validator | Version: | |
| Keywords: | template_report relation primary key | Cc: |
Description (last modified by )
What steps will reproduce the problem?
- Have a
siteor(see #21285) relation with onlydestination_signtype=*andname=* - Run validator
What is the expected result?
A warning about missing primary key
What happens instead?
No warning
Please provide any additional information below. Attach a screenshot if possible.
This came up in #20902.
Some relation types already have intensive validations but some like the two above (and likely a few more) miss a test for the primary key, so far.
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2021-07-16 23:15:08 +0200 (Fri, 16 Jul 2021) Revision:18045 Build-Date:2021-07-17 01:31:02 URL:https://josm.openstreetmap.de/svn/trunk
Attachments (0)
Note:
See TracTickets
for help on using tickets.



destination_signandbuildingare dealt with in #21285.siteneeds an own, specific warning or might be added to the java code for MPs.