Log message #4032655

# At Username Text
# May 26th 2017, 08:40 birdy247 Yes
# May 26th 2017, 08:40 Neon1024 Elements are the way to go
# May 26th 2017, 08:39 birdy247 was no 1 answered lol
# May 26th 2017, 08:39 birdy247 The general answer that came back
# May 26th 2017, 08:39 Neon1024 Not in the mood for work :(
# May 26th 2017, 08:39 Neon1024 I could do with a day off today
# May 26th 2017, 08:39 Neon1024 NOWAIRLY
# May 26th 2017, 08:39 birdy247 I asked this exact question on Wed
# May 26th 2017, 08:39 Neon1024 hides
# May 26th 2017, 08:39 Neon1024 :o
# May 26th 2017, 08:39 birdy247 Neon1024
# May 26th 2017, 08:35 Neon1024 #rubberduck
# May 26th 2017, 08:35 Neon1024 Guess using an element is probably best thinking about it, as I’ll need to render lots of things in various places
# May 26th 2017, 08:35 Neon1024 Can I render another template inside a template? Or do I have to convert it to an element?
# May 26th 2017, 08:25 chris-andre Only way I have been able to bypass that is by using `post`
# May 26th 2017, 08:24 chris-andre I get 403 Forbidden
# May 26th 2017, 08:24 chris-andre Yup
# May 26th 2017, 08:24 kareylo Wow O_o
# May 26th 2017, 08:24 chris-andre Nothing inside the if is returned. Condition fails
# May 26th 2017, 08:23 kareylo you don't have any error on save ?
# May 26th 2017, 08:22 chris-andre `if ($this->request->is(['patch', 'post', 'put'])) {`
# May 26th 2017, 08:22 kareylo `$this->request->allow(['POST', 'PUT', 'PATCH'])` or something similar ?
# May 26th 2017, 08:22 kareylo what do you have in controller ?
# May 26th 2017, 08:22 chris-andre Btw: Now I tested `$this->Form->create($entity, ['type' => 'put'])` which don't saves (updates) the form
# May 26th 2017, 08:21 kareylo seem logic
# May 26th 2017, 08:21 chris-andre Yes, most likely as it's run with a few seconds between only. But I had trouble with that earlier that my lock file was different on prod server than in my repo.
# May 26th 2017, 08:19 kareylo Yes, but have a composer update on the two side will make the same result
# May 26th 2017, 08:18 chris-andre On my prod I would rely on the lock file generated by update on dev. Isn't that "the right way"?
# May 26th 2017, 08:16 kareylo Try to do a composer update in prod AND dev
# May 26th 2017, 08:15 chris-andre @kareylo Okay. What do you mean with "same version"?
# May 26th 2017, 08:11 kareylo You should not have the same version on dev and prod
# May 26th 2017, 08:10 kareylo @chris-andre When you put an entity with data, Form->create use method put, not post
# May 26th 2017, 08:09 narendravaghela :slightly_smiling_face:
# May 26th 2017, 08:08 kareylo @birdy247 What do you call "task" ?
# May 26th 2017, 08:07 kareylo @narendravaghela don't ask to one person, ask to everybody, maybe someone should help you :slightly_smiling_face:
# May 26th 2017, 08:05 chris-andre Hi, I *had* this issue when updating records, which was "simply" fixed (took me some time), but I wonder if someone knows the reason why it is like this. If anyone would have a look: https://gist.github.com/chris-andre/b0ddb0e290d582f7fd111016e4b9383a
# May 26th 2017, 08:00 birdy247 in a shell?
# May 26th 2017, 08:00 birdy247 Can I load a task and use a different name?
# May 26th 2017, 07:33 narendravaghela @admad could you please help me to define the structure for my application?
# May 26th 2017, 07:27 chris-andre Morning!
# May 26th 2017, 06:59 kareylo Hi there !