[Potlatch-dev] [OpenStreetMap] #3836: potlatch2.2 locks up, unable to save edited data

OpenStreetMap trac at openstreetmap.org
Sun Jun 19 01:31:57 BST 2011


#3836: potlatch2.2 locks up, unable to save edited data
-----------------------+----------------------------------------------------
 Reporter:  Pepou      |       Owner:  potlatch-dev@…                
     Type:  defect     |      Status:  new                           
 Priority:  major      |   Milestone:                                
Component:  potlatch2  |     Version:  2.0                           
 Keywords:             |  
-----------------------+----------------------------------------------------
 I'm regularly getting potlatch2 (reproduced on V2.2 Build 2.2-1-gdec4a94)
 locked up and unresponsive. Sometimes I notice that after clicking or
 deselecting any node or way it does not change their description bar at
 the left side (and then try immediately press Save, which successfully
 saves my (albeit unfinished, but at least some) work), but sometimes it is
 already late and after clicking Save, the whole potlatch area just gets
 faded out... and the edits were gone.

 It happens at least on my each second edit (1-2 hours of work). And as I
 do not like to save "unfinished partial work"... it happens pretty often.
 On two different machines with Chrome browser.

 After reading kerosin's similar report in Diary
 http://www.openstreetmap.org/user/kerosin/diary/14153, I've tried to
 reproduce it, and found one possible way to get Potlatch into such state:

 Create some way (triangle or rectangle, does not matter, single point is
 sufficient), switch to advanced tag view and "accidentally" create two
 fresh "{{{(new tag) (new value) (x)}}}" lines instead of just one. Ooops!
 Lets delete one... but just the "(new value)" part in the Value column
 gets deleted. At this moment the object's properties bar is (b)locked -
 clicking any point or way does not change it. If you now say "Panic!" and
 press Save, potlatch is gone, fades out and... Germans say "Das war's".
 Farewell my data...
 ----
 During testing I've now found out an "emergency break": if I notice some
 object has got multiple unfilled "{{{(new tag) (new value) (x)}}}" lines,
 I may completely delete this object and potlatch remains functional.
 That's fine with my fresh new object. But if it is someone other's
 nontrivial, complex object I've just accidentally modified (while wishing
 to add just one new tag)...
 ----
 How to "accidentally" create multiple "{{{(new tag) (new value) (x)}}}"
 lines? I wish to make a double-click to add a new tag (but "accidentally"
 make a triple-click or one more double-click into a fresh "{{{(new tag)
 (new value) (x)}}}" line), or I press the Add button twice, and I
 immediately have (at least) two such lines. I believe potlatch might
 recognize that the line is not edited yet and might refuse to create
 another one.

-- 
Ticket URL: <https://trac.openstreetmap.org/ticket/3836>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world



More information about the Potlatch-dev mailing list