Submitted by DavidF on 2016/08/21 10:06
InfoQube and me are not getting on very well at the moment... Still working on the data that I tried in vain to import hierarchically (see here). In the end I did a straight copy and paste from the text file and went through it doing the indenting item by item. Then, I decided I wanted the whole lot to appear in another grid. So I made the new grid (a standard yes/no grid), selected all 155 items in the original grid, and in properties ticked the box for the new grid.

So OK, the new grid now has 155 items in it. But they look like this:
 
 
Whereas in the original grid they look like this:
 

Why are all the Item fields below TLI blank? This happens whether I select all 155 items and assign them to the new grid, or just the top level items.

I'm putting this in General Discussion rather than Bugs on assumption there's surely something I'm not getting about how IQ works in this area.
 
DavidF.
 
Edit: more problems. Thought instead of moving the items I would just rename the original grid. Now all the subitems are blank in original as well!!

Comments

Looks like a display bug to me.
There's a display bug where items appear empty (but in fact are not), happens from time to time.
If you refresh the grid, it still happens? Same if you close/open the  grid?
Or could be related to styles/something else.
 
-
IQ geek
Windows 8.1
CPU: Intel i5 2.6ghz

DavidF

2016/08/21 12:01

In reply to by Armando

I've saved, refreshed, closed, reopened, the Item fields are still blank. The data that was there is definitely gone. Which, it's not a huge loss as it was all just pasted in anyway, but it's annoying to have to go through it again...
 
Thinking it might be something to do with this one db, I made a new db, pasted in a few lines of text, indented some items, made an outline. Tried assigning TLI to another grid. Same problem as before: Item field in items other than the TLI is blank.
 
On the other hand, just manually entering items in the normal manner, indenting, then assigning to another grid - this works fine.
 
It's definitely happening only with text I paste in. Paste in text to create some items, indent some of them so you've got subitems, tick the box for another grid and you've got problems.
 
DavidF.

Armando

2016/08/21 16:05

In reply to by DavidF

[quote=DavidF]
I've saved, refreshed, closed, reopened, the Item fields are still blank. The data that was there is definitely gone. Which, it's not a huge loss as it was all just pasted in anyway, but it's annoying to have to go through it again...
[/quote]
 
But right after pasting, the first time, not after adding the TLI value for the other grid, does the item + subs content remain stable after a refresh? Probably not.
 
My guess is that the pasted lines contain tab(s) right at the start of each line and that fools IQ. I've run into the problem quite a few times. Each tab is interpreted  as a column; however if you have only one column (item) everything seems to be pasted there, but a refresh shows that the "tabbed data " isn't there -- it would be if you had  some text columns to the left right of the item column.
 
[2016-08-21  16:23 : edit : right instead of left!]
 
-
IQ geek
Windows 8.1
CPU: Intel i5 2.6ghz

DavidF

2016/08/21 16:45

In reply to by Armando

That's a good hypothesis Armando (tabs at the start of the text) - but I went on to try pasting in items from unindented text, and had the same problems when I then indented them within IQ, ie Item text in subitems disappearing... It really did seem connected with the act of pasting as such.
 
At any rate as I've reported in the Bugs forum, this problem seems specific to 0.79a and disappears when I go back to 0.78.
 
cheers
 
DavidF.

Armando

2016/08/21 17:03

In reply to by DavidF

[quote=DavidF]
That's a good hypothesis Armando (tabs at the start of the text) - but I went on to try pasting in items from unindented text, and had the same problems when I then indented them within IQ, ie Item text in subitems disappearing... It really did seem connected with the act of pasting as such.
 
At any rate as I've reported in the Bugs forum, this problem seems specific to 0.79a and disappears when I go back to 0.78.
 
cheers
 
DavidF.
[/quote]
 
I couldn't reproduce the problem in v79 with multiple lines NOT starting with the tab character. (But I somewhat did reproduce it when indented lines start with a tab char, as predicted in my previous post : all the data seems to be  there, but a refresh will have the subs' content disappear)
 
Here are the steps:
 
- Typed 12 lines of text:
Test1
Test2
Test3
Test4
Test5
Test6
Test7
Test8
Test9
Test0
Test11
Test12
 
- created a new DB
- copy/pasted the above lines in a grid (IQ created 12 new items)
- indented some items to make an outline
- created a "test" grid with a test Boolean field
- selected all the new items created and applied the "test" field to them.
- opened the "test" grid : no problem.
 
 
 
 
-
IQ geek
Windows 8.1
CPU: Intel i5 2.6ghz

DavidF

2016/08/21 17:46

In reply to by Armando

Thanks for your work on this Armando. I went back to 0.79a just to check - still getting the problems as described, both with the pasting of text and the using of styles. If you don't have these problems I guess it's not 0.79a as such - it's somehow my installation of 0.79a. Or my databases... It's very odd, I'm using a portable installation of 0.79a, I even tried removing the User folder and letting IQ recreate it, to make it as vanilla as possible, and I still get these problems. Yet there can't be anything in my installation that's any different compared to yours or anyone else's.
 
Well, I guess I'll be using 0.78, and have fingers crossed for 0.80 when it appears...
 
DavidF.

Wasn't able to reproduce it, but similar thing has happened to me in the past for no apparent reason, losing text in subitems.

Hi David,
 
Thanks for reporting. Empty items on paste is fixed in v80
Next, I'll fix paste hierarchy of items...
 
 
Pierre_Admin
IQ Designer