Hi,

I am testing SimpleSAMLphp 1.15 against a Drupal 8.3.7 using the simpleSAMLphp_auth 8.x-3.0-rc3 and log in works but viewing your own profile after logging in I get this error:

Uncaught PHP Exception Twig_Error_Runtime: "The "Twig_Extension_Sandbox" extension is not enabled in "core/themes/bartik/templates/status-messages.html.twig" at line 1." at /var/www/html/vendor/twig/twig/lib/Twig/Environment.php line 793

Switching back to SimpleSAMLphp 1.14.17, no errors. I think the issue is that SimpleSAMLphp 1.15 twig version is not compatible with Drupal 8.3.7.

I will test the version against 8.4.3 but I wanted to submit this for visibility.

Comments

dmundra created an issue. See original summary.

dmundra’s picture

Issue summary: View changes
dakku’s picture

Hi Daniel,

Thank you for attempting to upgrade and test SimpleSAMLphp 1.15. There have been a couple of threads to request an upgrade, so your findings and patches will be most valuable.

Since this module depends on 1.14x, I think this issue you have raised is more of a feature request than a bug with the current implementation.

Also see:

dakku’s picture

Category: Bug report » Feature request
dmundra’s picture

That makes sense @dakku. I will try to dig into the issue deeper for 8.3.7 and also test 8.4.3.

dakku’s picture

HI dmundra,
Any update on if you managed to resolve the issues with SimpleSAMLphp 1.15?

dmundra’s picture

Status: Active » Closed (cannot reproduce)

@dakku, I did some more testing with a vanilla 8.3.7 site and it works fine. I am probably running into Twig issue with how I am presenting fields on the user's profile. I think it is fine to go with 1.15, since 1.15.2 is also released. I am going to go ahead and close this.