Log message #4223252

# At Username Text
# Jan 21st 2020, 14:14 ndm I'd first start with trying to figure out what has changed, either in the application code, or in the server environment. Also check whether there's any difference between the adding and editing functionality, do some debugging like checking whether your controller receives the expected data, that the entities are being patched correctly, that the expected value is passed to the password hasher, etc...
# Jan 21st 2020, 14:05 carl65 CakePHP Version is 3.4.7.
# Jan 21st 2020, 14:03 carl65 I have absolutely no idea, what could be wrong. Any ideas or suggestions on this?
# Jan 21st 2020, 14:02 carl65 The code is pretty much forward the same as in the CakePHP-Book Blog example. So no fancy stuff there.
# Jan 21st 2020, 14:02 carl65 Suddenly, when I add a user, a Hash is saved to the Database, but the user can not log in. I have to edit the user, using the password again, and then it works.
# Jan 21st 2020, 14:01 carl65 Here's my problem: I have CakePHP App running since three years. There is a function to add new users, the provided password is saved using the DefaultPasswordHasher. It worked like a charm until now.
# Jan 21st 2020, 13:26 ndm probably
# Jan 21st 2020, 13:22 carl65 I am totally new to this channel - and currently I have a strange problem concerning CakePHP 3 and the DefaultPasswordHasher. Is this a good place for questions like this?
# Jan 21st 2020, 13:20 carl65 hi from austria!
# Jan 21st 2020, 12:32 ndm What do you mean by "_didn't seem to work_"? Any errors? If there are no errors, then the finder should be invoked. Have you debugged the finder method to see if it's invoked as expected?
# Jan 21st 2020, 12:26 jotpe (But working standalone)
# Jan 21st 2020, 12:26 jotpe I tried this, but the finder didn't seem to work.
# Jan 21st 2020, 12:25 ndm `'Matriculations' => ['finder' => 'valid']`
# Jan 21st 2020, 12:23 jotpe In my MatriculationsTable I have a finder called findValid. How can I pass the finder to my contain?
# Jan 21st 2020, 12:23 slackebot <jotpe>
# Jan 21st 2020, 12:22 jotpe I have this paginate:
# Jan 21st 2020, 12:21 jotpe Hey, what's the correct way of passing a finder to contain for pagination?
# Jan 21st 2020, 12:02 martin https://github.com/cakephp/cakephp/blob/3.next/src/Error/ExceptionRenderer.php#L141 this, so I think it is fixed when we migrate to 4, need plan to do that :P
# Jan 21st 2020, 12:00 martin I see in ExceptionRenderer.php that a new response in created, but don't see that in the cake 4 version
# Jan 21st 2020, 11:51 martin I set a cors header in middleware, but when an error occurs like validation error with crud it does not send that header anymore
# Jan 21st 2020, 11:48 martin When an exception is thrown, does it ignore the headers I did set in a middleware?
# Jan 21st 2020, 10:42 challgren just before your save do a debug($listing) and paste that here, also probably comment out the redirect for now
# Jan 21st 2020, 10:41 slackebot <matiur756>
# Jan 21st 2020, 10:40 challgren Show your entity class please
# Jan 21st 2020, 10:39 matiur756 @challgren but how to pass custom value this title field
# Jan 21st 2020, 10:39 matiur756 @challgren when get data this data , i get this array: <pre class="pr">Array (     [categories] => 4,5,6     [title] => grumbledog test123c2     [address] => 8500 Pena Boulevard,Denver,CO,US     [address_2] => 44     [phone] => 6754321     [web_address] => ww.gff.com     [images] =>       [lat] => 20.48     [lng] => 30.438     [business_type] => 1 )</pre>
# Jan 21st 2020, 10:38 challgren Check the SQL log
# Jan 21st 2020, 10:38 challgren Your in debug mode correct?
# Jan 21st 2020, 10:38 matiur756 @challgren already clear that but still same problem
# Jan 21st 2020, 10:35 challgren https://book.cakephp.org/3/en/console-and-shells/schema-cache.html
# Jan 21st 2020, 10:35 challgren sorry bin/cake schema_cache clear
# Jan 21st 2020, 10:34 matiur756 okay
# Jan 21st 2020, 10:34 challgren try bin/cake orm_cache clear I think
# Jan 21st 2020, 10:34 matiur756 yes
# Jan 21st 2020, 10:34 challgren did you recently add the title field?
# Jan 21st 2020, 10:34 matiur756 @challgren how to set custom value in field cakePHP 3.8 in controller?
# Jan 21st 2020, 10:32 matiur756 @challgren yes
# Jan 21st 2020, 10:32 challgren @matiur756 are you using cake 3.8?
# Jan 21st 2020, 10:30 jotpe What happens if you debug? Did you try to get validation errors? debug($listing->getErrors());
# Jan 21st 2020, 10:29 matiur756 yes
# Jan 21st 2020, 10:28 jotpe Has your Listing Class a title in accessible?