Skip to content

Conversation

@andrepereiradasilva
Copy link
Contributor

@andrepereiradasilva andrepereiradasilva commented Aug 12, 2016

Pull request for issue #11570

Summary of Changes

Removes warning from JTable when table file is not found.
Adds a comment in the code that in 4.0 an Exception will be trown.

Testing Instructions

  1. Add to isis index.php
$table = JTable::getInstance('bla', 'Table', array('dbo' => JFactory::getDbo()));
  1. Check the warning.
  2. Apply patch
  3. Check no warning now

For more info: see #11570

Documentation Changes Required

None

// If we were unable to find the class file in the JTable include paths, raise a warning and return false.
JLog::add(JText::sprintf('JLIB_DATABASE_ERROR_NOT_SUPPORTED_FILE_NOT_FOUND', $type), JLog::WARNING, 'jerror');
/*
* If we were unable to find the class file in the JTable include paths. Return false.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we are

;)

@brianteeman
Copy link
Contributor

I have tested this item ✅ successfully on 65a6ea7


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11573.

@alikon
Copy link
Contributor

alikon commented Aug 13, 2016

I have tested this item ✅ successfully on 65a6ea7


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11573.

@infograf768
Copy link
Member

RTC as 2 good tests


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11573.

@infograf768
Copy link
Member

infograf768 commented Aug 13, 2016

hmm RTC bot, please trigger...


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11573.

@andrepereiradasilva
Copy link
Contributor Author

RTC ?

@jeckodevelopment
Copy link
Member

I have tested this item ✅ successfully on 27c099f


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11573.

@jeckodevelopment
Copy link
Member

it seems that some of your tests have not been considered properly in JIssue, since I can see only 1 completed test (mine). Setting label manually.

@jeckodevelopment jeckodevelopment added the RTC This Pull Request is Ready To Commit label Aug 13, 2016
@brianteeman brianteeman added this to the Joomla 3.6.3 milestone Aug 13, 2016
@wilsonge wilsonge merged commit 74ed5b0 into joomla:staging Aug 13, 2016
@brianteeman brianteeman removed the RTC This Pull Request is Ready To Commit label Aug 13, 2016
@andrepereiradasilva andrepereiradasilva deleted the patch-18 branch August 13, 2016 18:22
ggppdk pushed a commit to ggppdk/joomla-cms that referenced this pull request Aug 19, 2016
roland-d pushed a commit to roland-d/joomla-cms that referenced this pull request Sep 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants