Colon in form locks field

Bug #311646 reported by fxp
2
Affects Status Importance Assigned to Milestone
Phatch
Fix Released
High
Stani
phatch (Ubuntu)
Fix Released
Undecided
Stani

Bug Description

Entering a text with a colon, e.g., "a: b", in a text field like "Save - In:" causes the field to be locked. The string cannot be changed any more.

I'm using Vista.

Revision history for this message
Stani (stani) wrote :

Congratulations on finding out this bug! This is a nice one ;-) I'll fix it on my next round.

Changed in phatch:
assignee: nobody → stani
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Stani (stani) wrote :

Fix commited upstream (revision 547), so will be available in next release.

$ bzr diff
=== modified file 'phatch/pyWx/lib/treeEdit.py'
--- phatch/pyWx/lib/treeEdit.py 2009-02-16 21:53:10 +0000
+++ phatch/pyWx/lib/treeEdit.py 2009-02-16 21:53:52 +0000
@@ -275,7 +275,7 @@
     def create_popup(self,item):
         """Connect formField.field to popup.Ctrl (VIP!)"""
         field = self.get_form_field(item)
- label, value = self.GetItemText(item).split(FIELD_DELIMITER)
+ label, value = self.GetItemText(item).split(FIELD_DELIMITER,1)
         pos, offset, size = self.get_popup_pos_offset_size(item)
         typ = field.__class__.__name__.replace('Field','')
         if isinstance(field,formField.SliderField):

$ bzr commit -m "fix LP#311646: colon in form locks field"
Committing to: /home/stani/sync/python/phatch/trunk/
modified phatch/pyWx/lib/treeEdit.py
Committed revision 547.

Changed in phatch:
status: Confirmed → Fix Committed
Stani (stani)
Changed in phatch (Ubuntu):
assignee: nobody → stani (stani)
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package phatch - 0.2.1-4

---------------
phatch (0.2.1-4) unstable; urgency=low

  * Add mlocate as an alternative dependency to locate (Closes: #548251)

phatch (0.2.1-3) unstable; urgency=low

  * replace --install-scripts=/usr/bin with --prefix=/usr
    (so that data files will be installed in the right place as well)

phatch (0.2.1-2) unstable; urgency=low

  * pass --install-scripts=/usr/bin to setup.py (otherwise it will FTBFS when
    default Python version is >= 2.6)

phatch (0.2.1-1) unstable; urgency=low

  [ Stani M ]
   * New upstream release (Closes LP: #198365, #234788, #270478,
    #297241, #304132, #311646, #344548, #352009, #378889, #378890,
    #379280, #379720, #380415, #380776, #380816, #381091, #381145,
    #381149, #381169, #381379, #381660, #382266, #382763, #382766,
    #382776, #382977, #383140, #383664, #383889, #384273, #384315,
    #384322, #384420, #384421, #384495, #384522, #384548, #384974,
    #385058, #385059, #385166, #385246, #385356, #385740, #386411,
    #386494, #386509, #386638, #386643, #386707, #386741, #386761,
    #386772, #387116, #387413, #388094, #388155, #388371, #388848,
    #390070, #391006, #391483, #391484, #391486, #391488, #391539,
    #391542, #392907, #392999, #393183, #393255, #393257, #393993,
    #394022, #394041, #394946, #398704, #413271, #415152, #418519,
    #419459, #419563, #425910)
  * debian/copyright:
    - Added copyrights for the new contributions.
  * debian/control:
    - Added python-notify and libtiff-tools as dependencies

  [ Emilio Pozuelo Monfort ]
  * debian/rules:
    - Install phatch in /usr/share/phatch instead of as a public module.
    - Stop removing a file from a pysupport folder. With the above change
      is not necessary anymore. Closes: #516322.
  * debian/copyright:
    - Add "Copyright" to the debian copyright.
    - Update years.
  * debian/control:
    - move python-nautilus and pkg-config to Build-Depends-Indep.
    - Wrap depends.
  * Update my email address.

  [ Piotr Ożarowski ]
  * Splitting out the package, new binary packages:
    - phatch-cli (command line interface)
    - phatch-doc (documentation for developers)
    - phatch-nautilus (Python nautilus integration)
  * Add blender and inkscape to phatch's Suggests
  * Add imagemagick, libjpeg-progs, exiftran, xcftools and dcraw to
    phatch-cli's Recommends (new actions will use them)
  * Add ttf-freefont and ttf-thai-tlwg to phatch-cli Depends (and add symlinks
    to use fonts from these packages instead of local copies)
  * Add locate to phatch-cli's Depends (used to find fonts)
  * Add python-sphinx and locate to build depens (docs are regenerated at
    build time)
  * Add lintian override for extra-license-file in phatch-doc (false positive)
  * Bump Standards-Version to 3.8.3 (no changes needed)

 -- stani <email address hidden> Mon, 28 Sep 2009 13:15:14 +0100

Changed in phatch (Ubuntu):
status: Confirmed → Fix Released
Stani (stani)
Changed in phatch:
milestone: none → 0.2.1
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.