Opened 9 years ago
Last modified 7 years ago
#14120 closed defect
Remove methods deprecated during gsoc-core — at Version 24
Reported by: | Don-vip | Owned by: | michael2402 |
---|---|---|---|
Priority: | normal | Milestone: | 18.06 |
Component: | Core | Version: | |
Keywords: | gsoc-core | Cc: | bastiK |
Description (last modified by )
Deprecated features from gsoc-core to remove, which are still used in core or plugins:
LatLon.heading()
: used in 5 plugins: improveway, iodb, nanolog, photoadjust, rexPreferences.getColor()
: used in MapCSSParser + 4 plugins: utilsplugin2, commandLine, routing, graphviewLayer.isChanged()
: used in MapView, GpxLayer, AbstractTileSourceLayer + plugin osminspectorImageryLayer.getDx()/getDy()/setOffset()/displace()
: used in ApplyOffsetAction, ImageryLayer + 4 plugins: commandLine, imageryadjust, iodb, irsrectify
Change History (24)
comment:1 by , 9 years ago
Milestone: | 16.12 → 17.01 |
---|
comment:2 by , 9 years ago
Milestone: | 17.01 → 17.03 |
---|
comment:7 by , 8 years ago
@michael2402:
Can you please give fixing the deprecations highest priority? We need to get a clean state, before we start other deprecations.
comment:8 by , 8 years ago
Status: | new → assigned |
---|
comment:9 by , 8 years ago
Type: | enhancement → defect |
---|
comment:10 by , 8 years ago
14.04 is due in two weeks, can you please fix the core deprecation warnings before that?
comment:11 by , 8 years ago
I think I have updated all the plugins now. But it seems we still have a bug in core:
- #13503: IAE: Cannot paint layer, it is not registered (TMSLayer)
- #13604: IAE: Cannot paint layer, it is not registered (OsmDataLayer)
- #13886: IAE: Cannot paint layer, it is not registered (ValidatorLayer)
- #14234: IAE: Cannot paint layer, it is not registered (GeoImageLayer)
- #13589: IAE: Cannot paint layer, it is not registered (ElevationProfileLayer)
comment:12 by , 8 years ago
comment:16 by , 8 years ago
I already saw that. Some problem with the test framework removing a layer twice, i'm debugging it but tests always take some time to run ;-)
comment:22 by , 8 years ago
I found the problem:
The map view handles the layer lifecycle. If tests create multiple map views for the same layer, each map view destroys the layers during test exit - so we have several destroy() calls. I removed one of the places where MapViewMock is used. We could completely remove that Mock, I think.
comment:24 by , 8 years ago
Description: | modified (diff) |
---|---|
Milestone: | 17.04 → 17.05 |
I don't have much time right now and won't have until March 31. I would like to re-schedule this one for milestone 17.4 (I just put it to 17.3, since there is no 17.4 yet).