# |
Jun 14th 2018, 11:11 |
josbeir |
i dont programmers that say they master 10 languages |
# |
Jun 14th 2018, 11:11 |
neon1024 |
I’ve tried Ruby, Python and Rust. |
# |
Jun 14th 2018, 11:11 |
lorenzo |
agree, specially learning a different language helps you think differently about problems |
# |
Jun 14th 2018, 11:11 |
josbeir |
easy to learn hard to master principle, i just stick to the ones i know well for everyday use |
# |
Jun 14th 2018, 11:11 |
neon1024 |
Just curious. I sometimes feel like I should learn more languages and frameworks, but I find that it’s like muscles. If you don’t use them you lose the skill. |
# |
Jun 14th 2018, 11:10 |
lorenzo |
Why? |
# |
Jun 14th 2018, 11:10 |
lorenzo |
haskell |
# |
Jun 14th 2018, 11:07 |
neon1024 |
@lorenzo Which programming language is your favourite? |
# |
Jun 14th 2018, 11:02 |
josbeir |
probably implement serializable interface :slightly_smiling_face: |
# |
Jun 14th 2018, 10:35 |
lorenzo |
what could the middleware do to solve that problem? |
# |
Jun 14th 2018, 10:12 |
josbeir |
when for instance using @admad's glide middlewhare in combination with an S3 flysystem adapter that doesn't allow serialization ... |
# |
Jun 14th 2018, 10:11 |
josbeir |
middlewares get serialized too, that could give issues |
# |
Jun 14th 2018, 10:10 |
josbeir |
imo there are several 'issues' with route caching enabled by default for newcomers |
# |
Jun 14th 2018, 10:10 |
josbeir |
np ;) was thinking out loud |
# |
Jun 14th 2018, 10:10 |
neon1024 |
No idea, sorry. I haven’t looked into the Route caching yet. |
# |
Jun 14th 2018, 10:08 |
josbeir |
is that reconstructed from cache too ? |
# |
Jun 14th 2018, 10:08 |
josbeir |
think it has something to do with the urlfilter checker |
# |
Jun 14th 2018, 10:08 |
josbeir |
hmm, just disabled the route cache again, now it works |
# |
Jun 14th 2018, 10:06 |
josbeir |
the login link is just the first one evaluated throwing the exception |
# |
Jun 14th 2018, 10:06 |
josbeir |
yes but its happening with all routes not only the login one (interesting detail i forgot to mention) |
# |
Jun 14th 2018, 10:05 |
neon1024 |
Maybe you have an `Html->link()`call somewhere in the template which is missing param, or where a param is passed as null or similar |
# |
Jun 14th 2018, 10:05 |
josbeir |
probably some fischy code executing somewhere |
# |
Jun 14th 2018, 10:04 |
josbeir |
yup |
# |
Jun 14th 2018, 10:04 |
neon1024 |
What an odd case! |
# |
Jun 14th 2018, 10:04 |
neon1024 |
Are you using the route cache? |
# |
Jun 14th 2018, 10:04 |
josbeir |
tried disabling route caching, didnt work |
# |
Jun 14th 2018, 10:04 |
neon1024 |
Hmm, caching perhaps? |
# |
Jun 14th 2018, 10:04 |
josbeir |
tried it several times, always works |
# |
Jun 14th 2018, 10:04 |
slackebot |
{"_name":"members.login","action":"login","controller":"Members","lang":"nl","pass":[],"plugin":null} | +---------------+--------------+-------------------------------------------------------------------------------------------------------+ |
# |
Jun 14th 2018, 10:04 |
josbeir |
+---------------+--------------+-------------------------------------------------------------------------------------------------------+ | Route name | URI template | Defaults | +---------------+--------------+-------------------------------------------------------------------------------------------------------+ | members.login | /nl/login | |
# |
Jun 14th 2018, 10:03 |
neon1024 |
`$ bin/cake routes check /nl/login` |
# |
Jun 14th 2018, 10:03 |
josbeir |
lemme try |
# |
Jun 14th 2018, 10:03 |
neon1024 |
Can you reverse it in the console? |
# |
Jun 14th 2018, 10:02 |
josbeir |
:thinking_face: indeend |
# |
Jun 14th 2018, 10:02 |
josbeir |
| members.login | /:lang/login | {"action":"login","controller":"Members","plugin":null} | |
# |
Jun 14th 2018, 10:02 |
neon1024 |
:thinking_face: |
# |
Jun 14th 2018, 10:02 |
josbeir |
yes |
# |
Jun 14th 2018, 10:02 |
josbeir |
calling routes console shows the route exists |
# |
Jun 14th 2018, 10:02 |
neon1024 |
Did you try `bin/cake routes` ? |
# |
Jun 14th 2018, 10:01 |
neon1024 |
Perhaps you have a token which doesn’t match |
# |
Jun 14th 2018, 10:01 |
josbeir |
nop |