Something went wrong while setting issue due date.
When we try to put an Google+ id in the personal plugin we get a crash
Closed
When we try to put an Google+ id in the personal plugin we get a crash
Description
When we try to put an Google+ id in the personal plugin we get a crash
Distribution Name and Version
Debian Jessie
FusionDirectory Version
1.2-fixes
Plugin with the defect
Personal
PHP version used
5.6
Origin of php packages
Debian jessie
Steps to Reproduce
- go to the personal tab on a user
- Try to enter a google+ id
- Get a crash
Expected behavior:
Should not crash
Actual behavior:
got a crash
Fatal error: Uncaught exception 'InvalidValueException' with message 'StringAttribute "Id" was set to a non-compatible value' in /usr/share/fusiondirectory/include/simpleplugin/attributes/class_StringAttribute.inc:113
Stack trace: #0 /usr/share/fusiondirectory/include/simpleplugin/class_Attribute.inc(159): StringAttribute->checkValue(NULL)
#1 /usr/share/fusiondirectory/include/simpleplugin/attributes/class_StringAttribute.inc(122): Attribute->setValue(NULL)
#2 /usr/share/fusiondirectory/plugins/personal/personal/class_personalInfo.inc(70): StringAttribute->setValue(NULL)
#3 /usr/share/fusiondirectory/include/simpleplugin/attributes/class_SetAttribute.inc(591): SocialAccountAttribute->check() #4 /usr/share/fusiondirectory/include/simpleplugin/attributes/class_SetAttribute.inc(539): OrderedArrayAttribute->handleAddAndEditValue()
#5 /usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc(1086): OrderedArrayAttribute->loadPostValue()
#6 /usr/share/fusiondirectory/include/simpleplugin/class_simpleTabs.inc(228): in /usr/share/fusiondirectory/include/simpleplugin/attributes/class_StringAttribute.inc on line 113
Reproduces how often:
100%
Additional Information
none