.name_id
raises NoMethodError in Ruby 2.6 default REXML version
#516
Labels
.name_id
raises NoMethodError in Ruby 2.6 default REXML version
#516
The following XML
Causes
OneLogin::RubySaml::Response#name_id
to raiseNoMethodError (undefined method '[]' for nil:NilClass)
in Ruby 2.6 and above.Code to replicate;
In Ruby 2.5.7;
In Ruby 2.6.0 and 2.6.5;
This is likely due to a bug introduced when Ruby's bundled REXML was upgraded to v3.1.9. It goes away with a
gem update rexml
.Given that the broken REXML is bundled by default with Ruby 2.6.x, I'm not sure if you want to note down a warning somewhere, or issue a fix to handle those borked Ruby versions.
The text was updated successfully, but these errors were encountered: