Ticket #2215 (closed bug: fixed)

Opened 4 years ago

Last modified 4 years ago

Save strategy should preserve feature.url when transforming

Reported by: pwr Owned by: tschaub
Priority: minor Milestone: 2.9 Release
Component: Strategy.Save Version: 2.8
Keywords: Cc:
State: Complete

Description

feature.url is currently not being carried over to the clone when transforming coordinates

Attachments

saveurl Download (0.6 KB) - added by pwr 4 years ago.
patch to pass over feature.url when transforming
patch-2215-A0.diff Download (3.9 KB) - added by elemoine 4 years ago.

Change History

Changed 4 years ago by pwr

patch to pass over feature.url when transforming

Changed 4 years ago by pwr

  • state set to Review

Changed 4 years ago by elemoine

Feature.Vector doesn't have a url property in its prototype, which kind of explains why Strategy.Save does not clone it. But the update() and delete() methods of Protocol.HTTP do look at feature.url, so it may indeed make sense to have Strategy.Save take url into account. I think we should also add a url property in the prototype of Feature.Vector and document that it can be useful when using the HTTP protocol.

Changed 4 years ago by elemoine

Changed 4 years ago by elemoine

  • status changed from new to closed
  • state changed from Review to Complete
  • resolution set to fixed

(In [9752]) Save strategy should preserve feature.url when transforming, p=pwr,me, r=me (closes #2215)

Note: See TracTickets for help on using tickets.