grouper-users - [grouper-users] RE: Error: Attribute is not multi-valued, but has multiple results! ( etc:attribute:instrumentationData:instrumentationDataInstanceLastUpdate )
Subject: Grouper Users - Open Discussion List
List archive
[grouper-users] RE: Error: Attribute is not multi-valued, but has multiple results! ( etc:attribute:instrumentationData:instrumentationDataInstanceLastUpdate )
Chronological Thread
- From: "Hyzer, Chris" <>
- To: "Black, Carey M." <>, Gouper Users List <>
- Subject: [grouper-users] RE: Error: Attribute is not multi-valued, but has multiple results! ( etc:attribute:instrumentationData:instrumentationDataInstanceLastUpdate )
- Date: Tue, 27 Mar 2018 18:30:46 +0000
- Accept-language: en-US
- Authentication-results: spf=none (sender IP is ) ;
- Ironport-phdr: 9a23:R/siWBJ51uPFm68U3tmcpTZWNBhigK39O0sv0rFitYgfLPTxwZ3uMQTl6Ol3ixeRBMOHs6kC07KempujcFRI2YyGvnEGfc4EfD4+ouJSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47xaFLIv3K98yMZFAnhOgppPOT1HZPZg9iq2+yo9JDffwtFiCChbb9uMR67sRjfus4KjIV4N60/0AHJonxGe+RXwWNnO1eelAvi68mz4ZBu7T1et+ou+MBcX6r6eb84TaFDAzQ9L281/szrugLdQgaJ+3ART38ZkhtMAwjC8RH6QpL8uTb0u+ZhxCWXO9D9QKsqUjq+8ahkVB7oiD8GNzEn9mHXltdwh79frB64uhBz35LYbISTOfFjfK3SYMkaSHJBUMhPSiJBHo2yYYgBD+UDPOZXs4bzqFQVoBuiHAmgGP/jxiNUinPo26AxzuQvERvB3AwlB98CvnbardX0NagMS+C51LTDwCvDb/NM2Df984bEeQ0mrPGJQb1wccrQyEgxGAPflViQqJflMC+P2uQQq2iU8exgVeS1h2E5tg5xvyGiy8ExgYfKnoIY0k7I+Tl7zYovKtC1SVR3bcOlHZZerS2XN4p7Tts/T2xmpCo20LkLtYOhcCQU1ZgqwwTTZ+GFfoWJ+h7jWvieLDRkiH9gfb+yhxK//lK+xeD5VcS7zEhFoy5An9bQq38CzQHf582IR/Z54Eus1jCC3B3J5O5eO0A7j6/bJoYhwrEukpoTtlzOEDfqlUvxkKOaaFwo9/aq5Oj6e7nmoYSTOJFuhgH5L6QuhtewAeMlMggIQmeX4/y81Kfk/U3lXrpFkuE2kqjesJDcP8gbobO5AxNR0oYk7Ba/DC2q38gfnXkCNF5FeRSHgJb1O1zWPvz0EfWyj06jnTpq3fzKI7zsD5vXInXDkbrtZbN95FRdyAo3w9Bf/ZVUCrQZLfL2RkDxtNzZDx4nPAyu2OvnCc592Z8EVWKSGq+WLqXSsVmS6u0xPuaMeZcZuCzhJPg9+/7ukXg5lEcSfamz2psXdWi4Eep8I0mAfHrsmckOEX0RvgclSOzqiUaCUSJIZ3qsRa485zc7CJ64AofZQICinqCB0DmhEpJIe29GFwPELXC9Pa+AUvwPLGq5K9Vsg3QhE/LpH4Ul3Bqt8lagkJJgNfeS9yEF49ar+99o/+DJ3Swp+CZvR+CcyH3FG25umX4QSiVzwbtyu1dVy1Gf3LJ+juACU9Ff+qUafB09MMuW7/1oBsq2EinBZNaSAh7yR96mECM8VPow2NRIfl5wHdPkgxzeiXn5S4QJnqCGUcRnupnX2GL8coMkky7L
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
We need a way to fix this in Grouper.
Maybe this helps to fix your registry:
Find the assignments and values (I think this is what you need, not 100%
sure):
select * from GROUPER_AVAL_ASN_ASN_GROUP_V gaaagv
where gaaagv.attribute_def_name_id2 = (select id from
grouper_attribute_def_name where extension =
'instrumentationDataInstanceLastUpdate')
and exists (
select 1 from grouper_attribute_assign gaa where
gaaagv.attribute_assign_id1 = gaa.owner_attribute_assign_id
and gaaagv.attribute_assign_id2 != gaa.id and
gaaagv.attribute_def_name_id2 = gaa.attribute_def_name_id );
Then, pick one to delete (the older value?)
delete from grouper_attribute_assign_value where id =
'<attribute_assign_value_id_from_above_result>';
delete from grouper_attribute_assign where id =
'<attribute_assign_id2_from_above_result>';
each should remove 1 record. And you should be all set. ok?
Thanks
Chris
-----Original Message-----
From:
[mailto:]
On Behalf Of Black, Carey M.
Sent: Tuesday, March 27, 2018 10:24 AM
To: Gouper Users List
<>
Subject: [grouper-users] Error: Attribute is not multi-valued, but has
multiple results! (
etc:attribute:instrumentationData:instrumentationDataInstanceLastUpdate )
I miss-clicked on the "UiV2Main.miscellaneous" list of functions and clicked
on "Instrumentation". I was promptly presented with this error msg. (and
nothing else)
"
Error: Attribute is not multi-valued, but has multiple results!
etc:attribute:instrumentationData:instrumentationDataInstanceLastUpdate,
AttributeAssignValueDelegate[ attributeAssign=AttributeAssign
[id=0f5b3b35b1764fde9f7a37f9ba7b9831,action=assign,attributeDefName=etc:attribute:instrumentationData:instrumentationDataInstanceLastUpdate,ownerAttributeAssignId=20245cda30f14b7d9ee6197668c50bfe]],
size: 2,
Problem calling method instrumentation on
edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2Admin
"
I understand what the error is saying. However:
I don't know how the system came to be in this state. ( At this
point, I assume due to some automated process that went sideways. )
Is this a known bug at some patch level? Result of a failed
process? (loader job? I2 Instrumentation?)
I don't know the right way to fix this either.
Track down where the multiple assignment(s) are remove (one?
All?) them?
Change the attribute to be multi-valued?
What is the downside to those actions?
If more information is needed then please send gsh/sql commands/UI click
paths/files to grep/etc....
I would be glad to poke around . ( Just give me the right stick to
poke with.) :)
Thanks in advance.
--
Carey Matthew
- [grouper-users] Error: Attribute is not multi-valued, but has multiple results! ( etc:attribute:instrumentationData:instrumentationDataInstanceLastUpdate ), Black, Carey M., 03/27/2018
- [grouper-users] RE: Error: Attribute is not multi-valued, but has multiple results! ( etc:attribute:instrumentationData:instrumentationDataInstanceLastUpdate ), Hyzer, Chris, 03/27/2018
- Re: [grouper-users] Error: Attribute is not multi-valued, but has multiple results! ( etc:attribute:instrumentationData:instrumentationDataInstanceLastUpdate ), Julio Polo, 03/27/2018
Archive powered by MHonArc 2.6.19.