wrong JError::raiseWaring(404, $e->getMessage()); in item model (site side) #583

Closed
opened 2020-08-05 13:53:14 +00:00 by jcodewalker · 0 comments
jcodewalker commented 2020-08-05 13:53:14 +00:00 (Migrated from github.com)

Steps to reproduce the issue

add a site single item view with a dynamic get
compile the component
install it

Expected result

JModelItem -> method: getItem -> catch (Exception $e)
the raise warning declaration correctly spelled
JError::raiseWarning(404, $e->getMessage());

Actual result

JError::raiseWaring(404, $e->getMessage()); (a 'n' is missing in 'Waring')
jcb-jwaring

System information (as much as possible)

  • OS Name & Version:
  • MySql Version:
  • Apache Version:
  • PHP Version:
  • Joomla Version:
  • JCB Version: 2.11.2
  • Browser:

Additional comments

### Steps to reproduce the issue add a site single item view with a dynamic get compile the component install it ### Expected result JModelItem -> method: getItem -> catch (Exception $e) the raise warning declaration correctly spelled JError::raiseWarning(404, $e->getMessage()); ### Actual result JError::raiseWaring(404, $e->getMessage()); (a 'n' is missing in 'Waring') ![jcb-jwaring](https://user-images.githubusercontent.com/49115855/89420973-c06e9d00-d733-11ea-9629-ac722dcc173c.png) ### System information (as much as possible) - OS Name & Version: - MySql Version: - Apache Version: - PHP Version: - Joomla Version: - JCB Version: 2.11.2 - Browser: ### Additional comments
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: joomla/Component-Builder#583
No description provided.