Log message #4135293

# At Username Text
# Apr 25th 2018, 18:33 dwms Hi, how to implement refreshtoken with admad/cakephp-jwt-auth
# Apr 25th 2018, 18:14 itmpls tried to google it
# Apr 25th 2018, 18:14 itmpls is getTableLocator() the replacement for get() now in TableRegistry?
# Apr 25th 2018, 17:11 dereuromark See https://github.com/FriendsOfCake/awesome-cakephp#demo => https://sandbox.dereuromark.de/sandbox/ajax-examples
# Apr 25th 2018, 17:08 dereuromark check my sandbox, there are lots of examples.
# Apr 25th 2018, 16:59 johnnyboy hey anyone know-how uses ajax in cakephp3.x to request a controller method...
# Apr 25th 2018, 16:44 vinicius.big That is it!! Thanks!!!
# Apr 25th 2018, 16:39 admad @vinicius.big request->getParam('paging')
# Apr 25th 2018, 16:22 slackebot2 can I get the paginator current status inside the Controller to pass to the View?
# Apr 25th 2018, 16:22 vinicius.big Hello, bakers! I'm using JSON views to get the list of entities. Everything is working fine. But I need to add more data in the `_serialize` key. I need to send Pagination information such as Page Number, Page Size, and Current Page. ``` public function index() { $articles = $this->paginate($this->Articles); $this->set(compact('articles')); $this->set('_serialize', 'articles'); } ``` But I couldn't figured this out. How
# Apr 25th 2018, 16:10 steinkel saltlake check https://github.com/CakeDC/users/blob/master/Docs/Documentation/Migration/6.x-7.0.md
# Apr 25th 2018, 16:06 saltlake Can anyone answer?
# Apr 25th 2018, 16:06 nosmallint type="number"
# Apr 25th 2018, 16:05 nosmallint @lorenzo: nope. No regression. If I setup a test project with 2.10.0 and a single testtable with various data types including smallintegers I get correctly "<input name="data[Testtable][col_smallint1]" id="TesttableColSmallint1" type="number">"
# Apr 25th 2018, 15:45 saltlake beforeFilder() https://bpaste.net/show/411f960eab98
# Apr 25th 2018, 15:44 saltlake for users/loginform
# Apr 25th 2018, 15:43 saltlake why this error? https://bpaste.net/show/64ca2a6dcf98
# Apr 25th 2018, 15:38 nosmallint switched back to 2.9.9 for debugging this, had the issue in 2.10.0 and latest 2.10.x
# Apr 25th 2018, 15:38 lorenzo I believe so
# Apr 25th 2018, 15:37 nosmallint @lorenzo: so this is actually a regression and the fault's not on my side?
# Apr 25th 2018, 15:37 nosmallint @ itmpls: data type in PostgreSQL is "smallint" :)
# Apr 25th 2018, 15:37 saltlake in 3.6
# Apr 25th 2018, 15:36 saltlake Is Session a helper or component?
# Apr 25th 2018, 15:36 nosmallint uuh
# Apr 25th 2018, 15:35 lorenzo nosmallint sounds like a regression in the latest version, unfortunately
# Apr 25th 2018, 15:34 itmpls can't you just add type='number' yourself?
# Apr 25th 2018, 15:34 itmpls curious* of the db column type. i want to think for me it auto-detected and set number, but i'm probably remembering wrong
# Apr 25th 2018, 15:34 nosmallint Using PostgreSQL btw
# Apr 25th 2018, 15:34 nosmallint Now the data type is "smallinteger" and the input type is "text".
# Apr 25th 2018, 15:33 itmpls just curios
# Apr 25th 2018, 15:33 nosmallint The type="text" is the issue, before 2.10.0 the data type was integer, the input type was "number".
# Apr 25th 2018, 15:33 itmpls what's the column type in the db?
# Apr 25th 2018, 15:32 nosmallint No special $options, contains only "'default' => (int) 0". HTML output is "<input name="data[Mymodule][Myid]" separator="andamp;nbsp;" value="0" id="MymoduleMyid" required="required" type="text">"
# Apr 25th 2018, 15:31 itmpls hi saltlake
# Apr 25th 2018, 15:30 itmpls @dereuromark would an event be fitting? actually this would be setting it on an associated model though that doesn't change the circumstances
# Apr 25th 2018, 15:29 saltlake HI all
# Apr 25th 2018, 15:25 itmpls since I started with 3.4
# Apr 25th 2018, 15:25 itmpls i've only used ->control mainly
# Apr 25th 2018, 15:24 itmpls what are all the options you pass to ->input ?
# Apr 25th 2018, 15:23 nosmallint Cakephp was manually updated vie replacing lib/Cake with the new version, then re-baking models, controllers and views.
# Apr 25th 2018, 15:22 nosmallint Am I missing something here? Read a lot of changelogs, diff-ed the packages, even tried to debug FormHelper.php