Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] Not togglable bool in grid

Not togglable bool in grid 09 May 2016 14:43 #13937

  • krasy
  • krasy's Avatar
  • Offline
  • Premium Member
  • Posts: 90
  • Thank you received: 8
  • Karma: 5
after some testing i ve found:

-toggle function is sometimes not initialized on collection - in builder the checkbox "Togglable" is checked.
(i had similar problem earlier when having many views in one table with toggle buttons)
//check my component "reproduction" there is one table with one view

-i you save null (choose nothing in form) you get mysql error when starting sandbox:

hope that was useful
The administrator has disabled public write access.

Not togglable bool in grid 10 May 2016 12:06 #13941

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Yep, in facts I was changing some stuff there. I am gonna look closer.
Thanks for the review
Coding is now a piece of cake
The administrator has disabled public write access.

Not togglable bool in grid 10 May 2016 12:16 #13942

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
It looks all fine for me.
Both your points are working fine.

Try to check / uncheck the "togglable" option. And save the properties again.
But I tried that also. I can't find it.

I cannot see your project with 'krasy' username. If you are using another account, you have to precise it as well.
Coding is now a piece of cake
The administrator has disabled public write access.

Not togglable bool in grid 11 May 2016 08:32 #13949

  • polsl
  • polsl's Avatar
  • Offline
  • New Member
  • Posts: 8
  • Karma: 0
please check this account...
component: reproductin
table: table1

its now in state where sandbox is not working,
because of mentioned sql error,

please flush dataset of component "reproduction"
and you will access sandbox with 2 issue.

thx for investigation.
The administrator has disabled public write access.

Not togglable bool in grid 11 May 2016 10:26 #13950

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Should be better now.
Coding is now a piece of cake
The administrator has disabled public write access.

Not togglable bool in grid 11 May 2016 10:27 #13951

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
But ...
I couldn't get any SQL error.

Can you please give more informations in another ticket ?
Coding is now a piece of cake
The administrator has disabled public write access.

Not togglable bool in grid 11 May 2016 12:13 #13957

  • krasy
  • krasy's Avatar
  • Offline
  • Premium Member
  • Posts: 90
  • Thank you received: 8
  • Karma: 5
account: polsl
component: reproductin
table: table1, table2
layouts: all

there are problems when having many layouts to one table
with toggle buttons some checked as togglable and some as notoggalbe
in sandbox you can find now:

T1l1 -T , (togglable checked) result: togglable
T1l2, (togglable unchecked) result: untogglable
T1l3 -T , (togglable checked) result: untogglable

T2l1 - (togglable unchecked) result: untogglable
T2l2 - (togglable unchecked) result: untogglable
T2l3 -T - (togglable checked) result: untogglable


//
to get sql error:
-click "new" on whatever collection i reproduction component
-choose nothing
-click save or save or close
-regenerate component to sandbox

//
For now we cant answer more in that other ticket,
hope the time will bring more solid opportunities.
The administrator has disabled public write access.

Not togglable bool in grid 11 May 2016 18:43 #13959

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Ok, I see the SQL error. You was right.

Now it is fixed.
The bug was coming from a problem with 'undefined' values during the backup of the dataset.

But for the togglable feature, this is working correctly. Remember to check the 'togglable' option in the grid.
Coding is now a piece of cake
The administrator has disabled public write access.

Not togglable bool in grid 13 May 2016 12:32 #13965

  • krasy
  • krasy's Avatar
  • Offline
  • Premium Member
  • Posts: 90
  • Thank you received: 8
  • Karma: 5
hi :)
checked again and I am sure it doest'n work...

in reproduction component
I ve saved twice "togglabe"
the view name with "T" letter is checked to be togglable in builder,
the result in sandbox is easy to recheck.

this is not urgent feature but should be noticed,
in some other component I was switching the order of adding
togglabe collections and in the end I ve 3 collection wiht togglabe/nottogglabe button like I needed.

I write all minor bugs down but,
don't want to flood you with minor impact stuff on forum,
some day ill send that privately.
The administrator has disabled public write access.

Not togglable bool in grid 14 May 2016 11:22 #13966

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Correct. This is strange.

I saw it now because I was testing with an 'admin' version, and so when I generate in same than your available version 2.8.2, in facts it is not working.

I will fix that monday.
Moved in tickets again.
Coding is now a piece of cake
The administrator has disabled public write access.

Not togglable bool in grid 16 May 2016 11:00 #13967

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Now it is definitively fixed.

Thank you for your patience. It was a difficult one, but everyday, thanks to you, the service improves in its details. I cannot always test all possibilities. In that case because you instanced the same boolean on different views.

Cheers.
Jocelyn.
Coding is now a piece of cake
The administrator has disabled public write access.
The following user(s) said Thank You: krasy

Not togglable bool in grid 16 May 2016 20:39 #13969

  • krasy
  • krasy's Avatar
  • Offline
  • Premium Member
  • Posts: 90
  • Thank you received: 8
  • Karma: 5
Thx Jocelyn
all the magic bools works now perfectly!
The administrator has disabled public write access.
Time to create page: 0.088 seconds

Get Started