Page 1 of 1

Extra column type number cell validation

Posted: 04 Dec 2021 07:05
by jupe
I noticed that if you have an extra column of type number and input a % char (eg. cell data: 1.1%) it causes the below pictured error dialog and it keeps recurring afterwards (like if you try scroll, swap panes, even 'do nothing' etc.) so the XY session is nearly unsalvageable. I guess this is user error, but thought maybe I should mention it because you might be able to make it fail more gracefully.

Repro script for fresh; below,

Code: Select all

  goto <xypath>;
  setcolumns("Name,Extra 1");
  sel 1;
  tagitems("ex1",  "1.1%");
  extratag(1, "|1|||||||");
Alternatively, current XY instance AB launcher:

Code: Select all

::run """<xy>"" /fresh /script=""::goto '<xypath>'; setcolumns('Name,Extra 1'); sel 1; tagitems(1, '1.1%'); extratag(1, '|1|||||||');"""
2021-12-04_163933.png

Re: Extra column type number cell validation

Posted: 04 Dec 2021 10:49
by admin
Indeed, fascinating! :shock: Every day brings something new...

Re: Extra column type number cell validation

Posted: 05 Dec 2021 06:45
by jupe
Looks resolved, but indulge me a quick query, are the repro scripts more useful or the AB launchers? (or neither?), maybe I can only include the most useful to you in the future? or both are pointless?

Re: Extra column type number cell validation

Posted: 05 Dec 2021 11:51
by admin
repro scripts! love them! :tup: