Page 1 of 1

Double deletion and double duplication

Posted: Wed Sep 30, 2009 9:04 pm
by Vetinari
Strange behavior at deleting or duplicating a graph-definition.
When I click on "Delete" and have a graph activated on the left side the graph on the right side is also deleted. And when I want to duplicate a graph, there will be two copies called: testgraph-copy-copy and testgraph-copy.
You know that I have a SheevaPlug, but I cannot imagine that the hardware can cause this.

Is anybody out there who noticed the described attitude?

Update: Now it seems to work correctly. Perhaps it has something to do from which page you come or if you saw the graph in the pop-up and then the double thing happens.

Re:Double deletion and double duplication

Posted: Wed Sep 30, 2009 11:02 pm
by skyewright
Vetinari wrote:You know that I have a SheevaPlug, but I cannot imagine that the hardware can cause this.

Is anybody out there who noticed the described attitude?
I use Meteohub on an ALIX1D.

I had something similar happen when deleting a graph last weekend. I'd modified a graph, saved it with a different name (but similar enough that they would 'sort' side by side). When I deleted the 'old' name file, the new file went too! :(
I didn't have time to investigate further, or report, but it could very easily have been the pattern you describe.
Update: Now it seems to work correctly. Perhaps it has something to do from which page you come or if you saw the graph in the pop-up and then the double thing happens.
Have you recently updated to the latest release (4,5c)? If so maybe that solved he problem?
When what I describe above happened I was using v4.5b.

Re:Double deletion and double duplication

Posted: Thu Oct 01, 2009 1:15 am
by d_l
I've duplicated graphs on an NSLU2 with only one copy generated. After renaming the copy and making modifications to the graph parameters, I decided to delete the original graph. Both the original and the renamed and modified copy were then deleted. This happened several times.

This happened some time ago on a much older Meteohub version -- a 3.x version? Since that time, I stopped using the copy function.

Re:Double deletion and double duplication

Posted: Thu Oct 01, 2009 4:18 pm
by admin
this bug seems to correspond with browser types. For a reason I don't understand, the request to the webserver seems to be repeated under certain circumstances with some browsers. I will try to get this fixed as it is very annoying. For the moment, please use another browser (Opera should do).

This is not new to 4.5 and it is not related to certain HW platforms. I wish I could say what introduced this bug ;-)