# |
Jan 17th 2020, 13:40 |
storkovo |
and the hell of loop errors is gone |
# |
Jan 17th 2020, 13:34 |
admad |
you will get json response for exceptions, not for errors |
# |
Jan 17th 2020, 13:29 |
neon1024 |
I thought Exception Renderer too, guess I need to build one |
# |
Jan 17th 2020, 13:28 |
neon1024 |
So what the content-type is becomes irrelevant |
# |
Jan 17th 2020, 13:28 |
neon1024 |
I think the error handler is spitting this out before the response is composed |
# |
Jan 17th 2020, 13:28 |
neon1024 |
As the response type is correct |
# |
Jan 17th 2020, 13:28 |
neon1024 |
I think there is an issue with the api |
# |
Jan 17th 2020, 13:28 |
spriz |
Yeah but it looks good now, doesn't it? ;P |
# |
Jan 17th 2020, 13:27 |
neon1024 |
@spriz Preview shows HTML as well |
# |
Jan 17th 2020, 13:18 |
spriz |
but I've done it with an exceptionRenderer |
# |
Jan 17th 2020, 13:17 |
spriz |
@neon1024 Change the tab to `preview` and it's good ;P |
# |
Jan 17th 2020, 12:18 |
neon1024 |
…so that errors are more readable than this |
# |
Jan 17th 2020, 12:18 |
neon1024 |
Anyone know if there is a simple way to have requests sent as application/json throw errors as json? |
# |
Jan 17th 2020, 12:04 |
challgren |
Well first is your flash even working? |
# |
Jan 17th 2020, 11:57 |
challgren |
like bootstrap-ui? |
# |
Jan 17th 2020, 11:56 |
challgren |
Do you have anything override the flashhelper? |
# |
Jan 17th 2020, 11:56 |
alexdd55976 |
nope... no changes. |
# |
Jan 17th 2020, 11:54 |
dereuromark |
ctp => php as well for cake4 |
# |
Jan 17th 2020, 11:53 |
alexdd55976 |
@challgren this is what i looked into |
# |
Jan 17th 2020, 11:52 |
alexdd55976 |
@javier.villanueva nope nothing. |
# |
Jan 17th 2020, 11:10 |
challgren |
I think it would be in /templates/element/flash https://github.com/cakephp/app/tree/master/templates/element/flash |
# |
Jan 17th 2020, 11:04 |
javier.villanueva |
Because if you have any plugin that override Elements/Flash folder |
# |
Jan 17th 2020, 11:02 |
javier.villanueva |
Do you use any template? |
# |
Jan 17th 2020, 10:10 |
alexdd55976 |
thats right |
# |
Jan 17th 2020, 10:09 |
neon1024 |
Perhaps you’re in 4.x? |
# |
Jan 17th 2020, 10:07 |
alexdd55976 |
@neon1024 > Should be in the Elements/Flash folder > Then the Flash->success() would use success.ctp |
# |
Jan 17th 2020, 08:43 |
javier.villanueva |
anyway I use devexpress and I must migrate these lists to it |
# |
Jan 17th 2020, 08:43 |
javier.villanueva |
yes... my bake limit to 200... it's a pending task to change it :_ D |
# |
Jan 17th 2020, 08:36 |
neon1024 |
Was there ever a plan for an offset paginator component? |
# |
Jan 17th 2020, 08:36 |
neon1024 |
Yeah and bake now limits to 100 on baked code too |
# |
Jan 17th 2020, 08:32 |
javier.villanueva |
thanks |
# |
Jan 17th 2020, 08:32 |
javier.villanueva |
ok, i will try |
# |
Jan 17th 2020, 08:31 |
spriz |
but you can change that component in eg. the AppController |
# |
Jan 17th 2020, 08:31 |
spriz |
AFAIK the `Paginator` defaults to `100` in `maxLimit` :thinking_face: |
# |
Jan 17th 2020, 08:31 |
javier.villanueva |
@spriz 3.8 |
# |
Jan 17th 2020, 08:30 |
spriz |
is it 3.x or 4.x @javier.villanueva? |
# |
Jan 17th 2020, 08:24 |
javier.villanueva |
I must set in paginate, 'maxLimit' => 10000 .... but... Is there any way to set it unlimited for the entire project? |
# |
Jan 17th 2020, 08:21 |
javier.villanueva |
my error... |
# |
Jan 17th 2020, 08:11 |
javier.villanueva |
not works |
# |
Jan 17th 2020, 08:10 |
d.lisiecki93 |
@javier.villanueva try `->limit(9999)` on query object |
# |
Jan 17th 2020, 08:09 |
javier.villanueva |
One question.... I have a table with 1300 records. When I find by default, I get 100 rows... :thinking_face: How to can I change this limit? (to unlimited) |