Comments

jibran created an issue. See original summary.

jibran’s picture

Status: Active » Needs review
StatusFileSize
new2.17 KB
new3.6 KB
jibran’s picture

StatusFileSize
new3.18 KB
new3.6 KB
jibran’s picture

StatusFileSize
new4.76 KB
jibran’s picture

7.4 and 7.3 fails show that triggers are not set up properly.

daffie’s picture

I have looked at the patch and I see that you are adding the method escapeField() is a couple of places. What the method returns has changed a little bit in that it return the field name with quotes added to the name (for Drupal 9). Maybe something goes wrong when you create the triggers when the field names are quoted?

jibran’s picture

StatusFileSize
new2.6 KB
new2.8 KB

We don't need to add the quotes here so I reverted it.

jibran’s picture

StatusFileSize
new2.37 KB
new4.27 KB

I found the reason for fails. \Drupal\Core\Database\Connection::quoteIdentifiers() is stripping out the sqaure breckets from the tiggers REGEX.

Status: Needs review » Needs work

The last submitted patch, 8: 3129590-8.patch, failed testing. View results

jibran’s picture

Status: Needs work » Needs review
StatusFileSize
new2.3 KB
new6.04 KB

Let's fix some fail for pgsql and sqlite.

jibran’s picture

StatusFileSize
new657 bytes
new6.05 KB

Let's try this.

jibran’s picture

StatusFileSize
new1.83 KB
new7.01 KB

Created the helper method.

jibran’s picture

StatusFileSize
new935 bytes
new7.01 KB

c/p error.

jibran’s picture

StatusFileSize
new653 bytes
new7.15 KB

Hopefully, this would be it.

jibran’s picture

StatusFileSize
new646 bytes
new7.14 KB

hmmm

daffie’s picture

@jibran: Maybe you did not know that: the difference between SQLite and the other 2 databases is that prefixing works a little bit different. SQLite separates the prefix and the table name with a dot.

jibran’s picture

StatusFileSize
new1.22 KB
new7.01 KB

Let's try this.

jibran’s picture

StatusFileSize
new2.72 KB
new4.6 KB

Hehe, @daffie yeah, I'm trying to figure it out as I go :D

Status: Needs review » Needs work

The last submitted patch, 18: 3129590-17.patch, failed testing. View results

jibran’s picture

Status: Needs work » Reviewed & tested by the community

Yay!!! green.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 18: 3129590-17.patch, failed testing. View results

  • jibran committed cd9f306 on 8.x-1.x
    Issue #3129590 by jibran: Make DER green for D9 branch
    

  • jibran committed 6f97646 on 8.x-2.x
    Issue #3129590 by jibran, daffie, chx: Make DER green for D9 branch
    

jibran credited chx.

jibran’s picture

Status: Needs work » Fixed

Thank you @daffie and @chx for the help.

Status: Fixed » Closed (fixed)

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