Avoid hard-coded URLs for GIS feature markers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Sahana Agasti |
Won't Fix
|
Wishlist
|
Sahana RELIEF Team | ||
Sahana RELIEF Experiments |
Confirmed
|
Critical
|
Sahana RELIEF Team |
Bug Description
Go to index.php?
1. Enter a class name
2. When entering a Marker Link it is a requirement that a full URL e.g. including http:// is required
This could be problematic when moving a Sahana instance from one URL to another to have hard-coded URLs that will all require changing. It should also support, and encourage in preference to hard-coded URLs, the use of relative paths that start from the sahana/
Ideally, this could be done by dragging the image into the input box, and having javascript strip the URL so that only the relative path is added. E.g.
http://
becomes
ersSymbolsV0202
This would make it easier to add the images (e.g. drag and drop would be more intuitive) and also make the marker setup more robust to moving the server.
Changed in sahana-relief-experiments: | |
importance: | Undecided → Medium |
assignee: | nobody → Sahana RELIEF Team (sahana-relief-team) |
Changed in sahana-agasti: | |
status: | New → Confirmed |
Changed in sahana-relief-experiments: | |
status: | New → Confirmed |
Changed in sahana-agasti: | |
importance: | Undecided → Wishlist |
assignee: | nobody → Sahana RELIEF Team (sahana-relief-team) |
milestone: | none → 0.9.0 |
Bumping up to critical as hard-coded IPs (we're not using domain names) are nasty for registering marker images. Especially when there are a couple of hundred to enter ;)