Re: [GRASS-dev] [GRASS GIS] #1791: gui modeler: cannot load file with r.mapcalc expression containing '' operator

2013-12-03 Thread GRASS GIS
#1791: gui modeler: cannot load file with r.mapcalc expression containing ''
operator
---+
 Reporter:  mlennert   |   Owner:  grass-dev@…  
 Type:  defect |  Status:  new  
 Priority:  normal |   Milestone:  7.0.0
Component:  wxGUI  | Version:  svn-trunk
 Keywords:  modeler r.mapcalc  |Platform:  Unspecified  
  Cpu:  Unspecified|  
---+

Comment(by wenzeslaus):

 Thanks for reminding about this issue. It is actually trivial (at least I
 hope that I haven't overlooked something). Should be fixed for trunk in
 r58371.

 I tested it but it would be better if you test it, too, XML can be tricky.

 For reference, I used [http://docs.python.org/2/library/xml.sax.utils.html
 xml.sax.saxutils] instead of custom escape function. See also a
 [http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references
 list of XML entities].

-- 
Ticket URL: https://trac.osgeo.org/grass/ticket/1791#comment:2
GRASS GIS http://grass.osgeo.org

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #1791: gui modeler: cannot load file with r.mapcalc expression containing '' operator

2013-12-03 Thread GRASS GIS
#1791: gui modeler: cannot load file with r.mapcalc expression containing ''
operator
--+-
  Reporter:  mlennert |   Owner:  grass-dev@…  
  Type:  defect   |  Status:  closed   
  Priority:  normal   |   Milestone:  7.0.0
 Component:  wxGUI| Version:  svn-trunk
Resolution:  fixed|Keywords:  modeler r.mapcalc
  Platform:  Unspecified  | Cpu:  Unspecified  
--+-
Changes (by mlennert):

  * status:  new = closed
  * resolution:  = fixed


Comment:

 Replying to [comment:2 wenzeslaus]:
  Thanks for reminding about this issue. It is actually trivial (at least
 I hope that I haven't overlooked something). Should be fixed for trunk in
 r58371.
 
  I tested it but it would be better if you test it, too, XML can be
 tricky.

 It works here when you create a new model file. One which already contains
 '' still cannot be loaded (which is logical as your change concerns
 writing the file), but I guess that this cannot be easily solved and that
 your solution is good enough. Any existing model files still have to be
 handled manually, but as soon as you save them again the issue is solved.

 I'm closing the bug for now.

 Thanks for the quick fix !

 Moritz

-- 
Ticket URL: https://trac.osgeo.org/grass/ticket/1791#comment:3
GRASS GIS http://grass.osgeo.org

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev