11/11 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ --------------------------------------------------------------
Line src/Controller/AllTableList.php
------ --------------------------------------------------------------
95 Variable $rows in isset() always exists and is not nullable.
------ --------------------------------------------------------------
------ --------------------------------------------------------------
Line src/Controller/TablesViews.php
------ --------------------------------------------------------------
139 Variable $rows in isset() always exists and is not nullable.
------ --------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line src/Form/AddViewsCustomTable.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------
105 Variable $databaseOptions might not be defined.
156 Call to deprecated function format_string():
in drupal:8.0.0 and is removed from drupal:9.0.0.
Use \Drupal\Component\Render\FormattableMarkup instead.
261 Call to deprecated function drupal_set_message():
in drupal:8.5.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
266 Call to deprecated function drupal_set_message():
in drupal:8.5.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
278 Return typehint of method Drupal\view_custom_table\Form\AddViewsCustomTable::buildCancelLinkUrl() has invalid type Drupal\view_custom_table\Form\Drupal\Core\Url.
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line src/Form/EditTableRelations.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------
102 Call to deprecated function format_string():
in drupal:8.0.0 and is removed from drupal:9.0.0.
Use \Drupal\Component\Render\FormattableMarkup instead.
174 Call to deprecated function drupal_set_message():
in drupal:8.5.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
179 Call to deprecated function drupal_set_message():
in drupal:8.5.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
192 Return typehint of method Drupal\view_custom_table\Form\EditTableRelations::buildCancelLinkUrl() has invalid type Drupal\view_custom_table\Form\Drupal\Core\Url.
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line src/Form/EditViewsCustomTable.php
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------
70 Variable $databaseOptions might not be defined.
130 Call to deprecated function drupal_set_message():
in drupal:8.5.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
135 Call to deprecated function drupal_set_message():
in drupal:8.5.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
148 Return typehint of method Drupal\view_custom_table\Form\EditViewsCustomTable::buildCancelLinkUrl() has invalid type Drupal\view_custom_table\Form\Drupal\Core\Url.
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line src/Form/RemoveViewsCustomTable.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
118 Call to deprecated function drupal_set_message():
in drupal:8.5.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
123 Call to deprecated function drupal_set_message():
in drupal:8.5.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
134 Return typehint of method Drupal\view_custom_table\Form\RemoveViewsCustomTable::buildCancelLinkUrl() has invalid type Drupal\view_custom_table\Form\Drupal\Core\Url.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------
Line src/Plugin/views/field/MysqlDate.php
------ ---------------------------------------------------
178 Variable $custom_format might not be defined.
181 Variable $custom_format might not be defined.
184 Variable $custom_format might not be defined.
187 Variable $custom_format might not be defined.
190 Variable $custom_format might not be defined.
193 Variable $custom_format might not be defined.
196 Variable $custom_format might not be defined.
200 Variable $custom_format might not be defined.
201 Call to deprecated function format_date():
in drupal:8.0.0 and is removed from drupal:9.0.0.
Use \Drupal::service('date.formatter')->format().
201 Variable $custom_format might not be defined.
203 Call to deprecated function format_date():
in drupal:8.0.0 and is removed from drupal:9.0.0.
Use \Drupal::service('date.formatter')->format().
203 Variable $custom_format might not be defined.
206 Call to deprecated function format_date():
in drupal:8.0.0 and is removed from drupal:9.0.0.
Use \Drupal::service('date.formatter')->format().
------ ---------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line src/Plugin/views/filter/MysqlDate.php
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
25 Property Drupal\view_custom_table\Plugin\views\filter\MysqlDate::$time has unknown class Drupal\view_custom_table\Plugin\views\filter\Drupal\Component\Datetime\TimeInterface as its type.
33 Property Drupal\view_custom_table\Plugin\views\filter\MysqlDate::$dateFormatter has unknown class Drupal\view_custom_table\Plugin\views\filter\Drupal\Core\Datetime\DateFormatterInterface as its
type.
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------
Line view_custom_table.module
------ --------------------------------------------------------------
200 Undefined variable: $related_table_pri_key
217 Variable $data in isset() always exists and is not nullable.
------ --------------------------------------------------------------
[ERROR] Found 35 errors
| Comment | File | Size | Author |
|---|---|---|---|
| #15 | drupal-9-compatibility-3115789-15.patch | 12.85 KB | bladedu |
| #14 | interdiff_9-14.txt | 734 bytes | dca123 |
| #14 | drupal-9-compatibility-3115789-14.patch | 13.68 KB | dca123 |
| #9 | interdiff-6-9.txt | 1.09 KB | naresh_bavaskar |
| #9 | 3115789-9.patch | 13.09 KB | naresh_bavaskar |
Issue fork view_custom_table-3115789
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
siddhant.bhosale commentedComment #3
siddhant.bhosale commentedHi, I have fixed all the issues from the Drupal 9 Compatibility report.
Please review.
Comment #4
siddhant.bhosale commentedComment #5
siddhant.bhosale commentedComment #6
siddhant.bhosale commentedHi,
I have missed one scenario in the where "Base table or view not found" if we have a prefix for tables.
So adding the new patch and interdiff as well.
Comment #7
siddhant.bhosale commentedComment #8
naresh_bavaskarstil minor Compatibility work need to fix......Call to deprecated constant REQUEST_TIME: Deprecated in drupal:8.3.0
Comment #9
naresh_bavaskarPlease review
Comment #10
kapilv commentedComment #11
ggh commentedWhen can we expect a stable release for this module ported for Drupal 9,Can we have some timelines
Comment #12
dca123 commented#9 fails
Running drupal-check:
Comment #13
dca123 commentedIn /src/Plugin/views/field/MysqlDate.php
I replaced line 5
with
I replaced line 65
with
I'm working on a patch but I'm not familiar with Drupal patching and interdiffs. If someone wants to patch they can. In the meantime I'll work on the patch.
Comment #14
dca123 commentedHere is the patch and interdiff
Comment #15
bladedureworked patch #14 and added
core_version_requirement: ^8 || ^9in the .info.yaml file.Comment #16
smustgrave commentedIs there any issue with using this for Drupal 9?
Comment #17
coaston commentedHi,
I used attached patch, no issue found, but when I create view in database and want to load it here, I can add it to tables, but unable to see it in views, is that normal ? (The reason why I created sql view is due to calculation, now need to load it back to views in Drupal)
Comment #19
anoopjohn commentedAny ETA on the Drupal 9 version of the module? I am have created a fork for this issue and have applied the patch in the fork. Am going to test this in a site I am working on migrating from D8 to D9
https://git.drupalcode.org/issue/view_custom_table-3115789
Comment #21
smustgrave commentedAlso been using this on a D9 site but had to checkin the module since composer wouldn't even download it to try and patch it :(
Comment #23
cmcintosh commentedCreated a public repo for the drupal 9 compatibility. If you need to add it to your project you can follow: https://www.daggerhartlab.com/composer-how-to-use-git-repositories/ for public repos on github. https://github.com/WembassyCo/views_custom_table is the url for the work i am maintaining. Minimally
Comment #24
joseph.olstadok that's it, someone needs to take over ownership of this module, and FAST
Comment #25
joseph.olstadfor those that can't wait, use this:
composer require 'drupal/view_custom_table:9.0.x-dev@dev'Comment #26
joseph.olstadComment #28
joseph.olstadrelease to follow shortly
Comment #29
cmcintosh commentedThanks for the work I will be reviewing and merging soon.
Comment #30
cmcintosh commentedsorry disregard, im unable to merge
Comment #31
joseph.olstada release to follow shortly, working on it
Comment #33
joseph.olstadNew release for Drupal 8, Drupal 9
Use composer to get it:
composer require 'drupal/view_custom_table:^1.6'OR
download version 8.x-1.6
Also a new release for Drupal 7 , version 7.x-1.0
download version 7.x-1.0
Comment #34
rajeshreeputra