Log message #4123480

# At Username Text
# Mar 10th 2018, 00:56 slackebot Action: turkles waits for someone to wake up
# Mar 9th 2018, 23:58 turkles $query=$this->Factions->find()->where(['Factions.id' => $this->fac]); foreach($updatelist as $this->target_type) { $query->contain($this->target_type, function ($q) { return $q->where([$this->target_type.'.id >' => $this->factionUpdate[$this->fac][$this->target_type],'faction_id' => $this->fac]); }); }
# Mar 9th 2018, 23:57 turkles Anyone used contain constraints in 3.5? I keep getting errors that my id column is not found, but I can see it when I debug the query as the defaultTypes part
# Mar 9th 2018, 20:32 joopm okey thank i take a look
# Mar 9th 2018, 20:31 watermark Here's some logic I've used to pull the messages out, see if this helps out all. https://gist.github.com/watermark/8ca96c84ccd9c80b214174bb988ab0a2
# Mar 9th 2018, 20:28 joopm rule message
# Mar 9th 2018, 20:27 joopm but not the specific
# Mar 9th 2018, 20:27 joopm well its show me only Flash->error("message")
# Mar 9th 2018, 20:26 watermark howdy
# Mar 9th 2018, 20:26 joopm hello watermark
# Mar 9th 2018, 20:20 watermark joopm: rules are run after a save is attempted. You should be able to get the messages with table->getErrors() after the save (if the save failed)
# Mar 9th 2018, 20:14 joopm but dont knowhowcan i show the error message when validation error have
# Mar 9th 2018, 20:13 joopm i created an isunique rule
# Mar 9th 2018, 20:13 joopm hello
# Mar 9th 2018, 20:08 watermark So, I went looking for connection prefixes in Cake3. Just verifying, these still are not implemented natively in Cake3? The proposed solutions I've found don't handle tables in plugins.
# Mar 9th 2018, 17:56 greenjam94 thanks anyways
# Mar 9th 2018, 17:56 greenjam94 nope… cause it works now.. I’m so confused.. maybe cache refreshed after trying X times..
# Mar 9th 2018, 17:55 savant can you show the output of the curl command?
# Mar 9th 2018, 17:54 greenjam94 no i didn’t change apache
# Mar 9th 2018, 17:52 savant thats a strange redirect, sounds like maybe something in your apache conf?
# Mar 9th 2018, 17:52 savant what does that redirect?
# Mar 9th 2018, 17:50 greenjam94 thanks, got it working, one roadblock I hit.. I have a path /guides and created a folder in webroot with the same name. now going to /guides in URL redirects to /webroot/guides even after renaming the folder. How do I stop that?
# Mar 9th 2018, 16:49 savant https://github.com/gourmet/common-mark
# Mar 9th 2018, 16:33 greenjam94 cool, I’ll take a look. Do u have a favorite?
# Mar 9th 2018, 16:32 dereuromark there are existing plugins and view files etc. quite straightforward
# Mar 9th 2018, 16:31 greenjam94 Hi all, does anyone have experience with managing markdown text files in cake? Like in a temple pulling in a .md file and parsing it into HTML with parsedown or something?
# Mar 9th 2018, 16:15 mikesmoniker But we’ll either improve that or maybe look at joinWith or something.
# Mar 9th 2018, 16:15 mikesmoniker That’s the direction we’re going, but our report builder currently ends up adding that as a sort of broken column because it assumes everything that comes back was asked for.
# Mar 9th 2018, 16:14 savant not sure if it makes sense to have a “null” campaign_run object
# Mar 9th 2018, 16:14 savant but yeah i would inject the id at least
# Mar 9th 2018, 16:14 savant gimme
# Mar 9th 2018, 16:14 savant oooo a report builder
# Mar 9th 2018, 16:14 mikesmoniker In this case the select() is dynamic, coming from a “report builder” interface.
# Mar 9th 2018, 16:14 savant because you dont have an intermediate object
# Mar 9th 2018, 16:13 savant yeah it wouldnt know where to “put” the data
# Mar 9th 2018, 16:13 savant ah
# Mar 9th 2018, 16:13 mikesmoniker https://pastebin.com/zh1VkAtE
# Mar 9th 2018, 16:12 savant what what do you mean by “thrown out”
# Mar 9th 2018, 16:12 mikesmoniker I am.
# Mar 9th 2018, 16:12 savant only if you’re using select()
# Mar 9th 2018, 16:10 mikesmoniker Is it by design that if you contain() a nested relationship but don’t select() something from the intermediate table the contain gets thrown out?