?
Failure
-
Success
Hound
No violations found. Woof!
Details
-
Failure
continuous-integration/drone/pr
Build is failing
Details
-
Success
continuous-integration/appveyor/pr
AppVeyor build succeeded
Details
User tests:
Successful:
Unsuccessful:
Summary of Changes
use prepared statement for SQL
Testing Instructions
test com_contact
Expected result
should work as before
Actual result
don't use prepared statements
alikon
-
open
-
20 May 2019
joomla-cms-bot
-
change
-
20 May 2019
Category |
|
⇒ |
Administration
com_contact
Front End
|
franz-wohlkoenig
-
change
-
21 May 2019
Title |
… |
[4.0][com_contact] convert to prepared statement |
[4.0] [com_contact] convert to prepared statement |
|
franz-wohlkoenig
-
change
-
21 May 2019
Title |
… |
[4.0][com_contact] convert to prepared statement |
[4.0] [com_contact] convert to prepared statement |
|
franz-wohlkoenig
-
edited
-
21 May 2019
wilsonge
-
change
-
3 Jun 2019
Status |
Pending |
⇒ |
Fixed in Code Base |
Closed_Date |
0000-00-00 00:00:00 |
⇒ |
2019-06-03 16:34:39 |
Closed_By |
|
⇒ |
wilsonge |
wilsonge
-
close
-
3 Jun 2019
wilsonge
-
merge
-
3 Jun 2019
Add a Comment
Login with GitHub to post a comment
What's the consensus on throwing exceptions vs using
setError()
and returningfalse
in models? I see a mix of both in same model, e.g.joomla-cms/components/com_contact/Model/ContactModel.php
Lines 194 to 197 in 48e6af8
joomla-cms/components/com_contact/Model/ContactModel.php
Lines 251 to 253 in 48e6af8