Hi menion
i was walking on a multi and can´t find a stage, so i run "update cache" to read last logs. Now i read in logs about changed formula and description inside a WPT, but i didn´t see any changes :-[
Back home i took a look on cache description on PC and there i saw the changes.
After some tests i found, that changed WPT types or names are updated well after "update cache" :), but not changed content (text, formula) :o
my solution for now, delete WPT´s and run "update cache" so also content of WPT is up to date ;)
EDIT if you need an example for tests you can use one of my own e.g. GC21TVZ, let me know when you have installed it via GC4L then i will change some text inside WPT and give you info
There is the Same problem with updated notes...
Hi guys,
I've really found piece of code that cause that in case of merging waypoint, old description is kept.
Question is ... what is better. Keep old description (that may be already changed by you as user) or always update to new description?
@Diddi: Notes - in case, old cache has some notes, it will be preserved. It is more logical I think. Anyway it complicates situation in case, you edit "notes" directly on a web ...
Maybe you can give us an option if description and notes will be updated....?
QuoteI've really found piece of code that cause that in case of merging waypoint, old description is kept
what do this code observe?
1. owner change content of wpt, (formula, information) and user made no changes
2. only user add info to wpt (coords, text, values)
3. user add info to wpt and owner change content of wpt
my prosposal while "update cache" if possible:
if 1 > overwrite wpt
if 2 > don´t overwrite wpt
if 3 > update wpt and keep old by user modified version as note inside this wpt
am curious if that's possible 8)
Hmm I'm sitting on this for a while ...
main problem here is, that I have no times to compare, also it should be really complicated to do some merging or keeping old history.
So in the end I did different system. Every waypoint will now have information, if it's content (description) was modified by user or if it's still original description from cache owner. If user already modified this, then update will keep modified description. Otherwise it will be updated. Better?
@Diddi: hmm notes are a lot worst. Best is always send updated notes to web server directly from edit dialog.
QuoteEvery waypoint will now have information, if it's content (description) was modified by user or if it's still original description from cache owner. If user already modified this, then update will keep modified description. Otherwise it will be updated. Better?
that sounds good 8) i´ll wait on new (beta)version ;)
QuoteBetter?
regrettably not :-[
if user run "update cache" twice, user modification (test) is gone, see screencast.
EDIT: after second update a additional WPT is created, ??? why
If owner did a modification, user modification is lost after "update cache"
If you find no better solution, allow update WPT info if owner did any change and forbid edit from user inside WPT description expect coords.
So user has to collect all his info inside note