Can not access to /examples/dbtng_example.
An error occured : PHP Fatal error: Class 'Drupal\\dbtng_example\\DbtngExampleStorage' not found in /home/www/html/drupal/modules/contrib/examples/dbtng_example/src/Controller/DbtngExampleController.php on line 31, referer: http://localhost/drupal/drd/core/add

Comments

_vl_ created an issue. See original summary.

_vl_’s picture

Error in filename (case sensitive)

_vl_’s picture

Assigned: _vl_ » Unassigned
_vl_’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 2: examples-dbtng-class-not-found-2687699-8.x.patch, failed testing.

The last submitted patch, 2: examples-dbtng-class-not-found-2687699-8.x.patch, failed testing.

metzlerd’s picture

The patch here looks like the whole file changed? Any chance that you're editor is changing line feeds on this one? It makes it difficult to see what's changed in the patch. I think that CI errors are problems with the test bot and not your patch,as the 8.x.1.x branch is passing all tests.

heykarthikwithu’s picture

Status: Needs work » Needs review
StatusFileSize
new8.85 KB
new21.92 KB

A similar change in code.

Status: Needs review » Needs work

The last submitted patch, 8: 2687699-8.patch, failed testing.

The last submitted patch, 8: 2687699-8.patch, failed testing.

heykarthikwithu’s picture

Status: Needs work » Needs review
metzlerd’s picture

I'll have to apply the patch to be sure, but now I'm beginning to understand what's going on here. We are trying to rename the file in case (OF COURSE, aren't I a dits) so the path files will probably need to rename the whole files. It may be the first patch was correct and the second is wrong. I'm so sorry for the confusioni I may have introduced here.

mile23’s picture

Status: Needs review » Fixed

No doubt this is a follow-up to #2668656: DBTNG Example has incorrect directory structure, acronym names

The test problems are related to a branch failure.

There is also a case disparity with dbtng_example/src/Tests/DbtngExampleTest.php, fixed in commit.

Passes locally using run-tests.sh

Thanks, folks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.