Log message #4055897

# At Username Text
# Jul 23rd 2017, 11:19 iqbalchannar796 $person->errors()
# Jul 23rd 2017, 11:18 chris-andre For a reason your associated users is marked as new, `isNew => true`, that is why
# Jul 23rd 2017, 11:16 iqbalchannar796 https://gist.github.com/anonymous/e04717f941d585ecdf53e67f5aa44059
# Jul 23rd 2017, 11:12 iqbalchannar796 sure
# Jul 23rd 2017, 11:12 chris-andre can you `debug($person); die;` after patchEntity, and gist output?
# Jul 23rd 2017, 11:10 iqbalchannar796 https://gist.github.com/anonymous/3ab454ae1a57a470a655fec1d511cd8a
# Jul 23rd 2017, 11:10 iqbalchannar796 edit function
# Jul 23rd 2017, 11:09 chris-andre I believe line 154 might trigger that error. Line 209 should already do what you want.
# Jul 23rd 2017, 11:04 iqbalchannar796 https://gist.github.com/anonymous/a9c7cb98d0003b7f113fe9890de663a3
# Jul 23rd 2017, 11:01 chris-andre validation and buildRules method
# Jul 23rd 2017, 11:01 iqbalchannar796 let me share with you
# Jul 23rd 2017, 11:01 chris-andre Could you gist UsersTable?
# Jul 23rd 2017, 10:59 iqbalchannar796 yes
# Jul 23rd 2017, 10:58 chris-andre Allright. When you updates your userprofile without editing username, you get error on existing username?
# Jul 23rd 2017, 10:51 iqbalchannar796 i am using patchEntity() with associated relation
# Jul 23rd 2017, 10:50 iqbalchannar796 when i try tu update user record the message came, already existed, how can i handle it when updating user record @chris-andre
# Jul 23rd 2017, 10:46 chris-andre @iqbalchannar796 Sounds like a very common approach: patchEntity() ?
# Jul 23rd 2017, 10:41 iqbalchannar796 how to validate user model on updating username ???????????????
# Jul 23rd 2017, 10:19 chris-andre Shouldn't your className be plural?
# Jul 23rd 2017, 10:19 chris-andre Oh, allright. Wrong guess then.
# Jul 23rd 2017, 10:16 tokam which makes it hard for me to rename my association :(
# Jul 23rd 2017, 10:16 tokam 'owner_name' => 'SELECT name FROM project_owners WHERE project_owners.id = ProjectPage.project_owner_id',
# Jul 23rd 2017, 10:15 tokam the issue is, that the ProjectPage has a virtual field....
# Jul 23rd 2017, 10:14 tokam they are assoiciated with two tables
# Jul 23rd 2017, 10:14 tokam no
# Jul 23rd 2017, 10:14 chris-andre @tokam Capephp 2? Anyway, are all three associations associated with Projects table? Then className should be 'Projects'
# Jul 23rd 2017, 10:01 tokam (datatable name)
# Jul 23rd 2017, 10:00 tokam the current pasted mapping leads to an error, because cake php tries to use my alias name as a database name
# Jul 23rd 2017, 10:00 tokam how must my mapping look like?
# Jul 23rd 2017, 10:00 tokam I like to use the aliases: ProjectPreviewPage and ProjectInvestmentPage
# Jul 23rd 2017, 10:00 tokam the table I am referring to is named project_page
# Jul 23rd 2017, 10:00 tokam https://paste.ubuntu.com/25152893/
# Jul 23rd 2017, 10:00 tokam I like to have one entity have two associations to an other table...
# Jul 23rd 2017, 10:00 tokam Hello
# Jul 23rd 2017, 08:59 theskillwithin https://youtu.be/evYxx8qjZFs
# Jul 23rd 2017, 08:29 birdy247 using i18n
# Jul 23rd 2017, 08:29 birdy247 2018-09-07T08:00:00.000Z
# Jul 23rd 2017, 08:29 birdy247 Anyone know of a nifty way to format a dattime like this
# Jul 23rd 2017, 08:01 saeideng morning
# Jul 23rd 2017, 07:27 birdy247 morning
# Jul 23rd 2017, 01:03 royalty https://gist.github.com/Modicrumb/6917d9aca6821f4c3cae9be3f5a6fec7