You need to sign in to do that
Don't have an account?

Setting Access Levels in AccountShare doesn't reflect in UI?
20100121143947.267:Class.AccountTeamAdditionTests.TestContext.BulkAssertions: line 108, column 11: listMembers size = 220100121143947.267:Class.AccountTeamAdditionTests.TestContext.BulkAssertions: line 111, column 41: SOQL query with 4 rows finished in 3 ms20100121143947.267:Class.AccountTeamAdditionTests.TestContext.BulkAssertions: line 113, column 4: listAccessShare size = 420100121143947.267:Class.AccountTeamAdditionTests.TestContext.BulkAssertions: line 117, column 4: SelectLoop:LIST:SOBJECT:AccountTeamMember20100121143947.267:Class.AccountTeamAdditionTests.TestContext.BulkAssertions: line 119, column 5: SelectLoop:LIST:SOBJECT:AccountShare20100121143947.267:Class.AccountTeamAdditionTests.TestContext.BulkAssertions: line 119, column 5: Number of iterations: 420100121143947.267:Class.AccountTeamAdditionTests.TestContext.BulkAssertions: line 119, column 5: SelectLoop:LIST:SOBJECT:AccountShare20100121143947.267:Class.AccountTeamAdditionTests.TestContext.BulkAssertions: line 119, column 5: Number of iterations: 420100121143947.267:Class.AccountTeamAdditionTests.TestContext.BulkAssertions: line 117, column 4: Number of iterations: 220100121143947.267:Class.AccountTeamAdditionTests.TestContext.BulkAssertions: line 127, column 10: listShare size = 220100121143947.267:Class.AccountTeamAdditionTests.TestContext.BulkAssertions: line 130, column 11: SelectLoop:LIST:SOBJECT:AccountShare20100121143947.267:Class.AccountTeamAdditionTests.TestContext.BulkAssertions: line 134, column 13: user: USERXXXXXXX account access: Edit20100121143947.267:Class.AccountTeamAdditionTests.TestContext.BulkAssertions: line 135, column 13: user: USERXXXXXXX contact access: Edit20100121143947.267:Class.AccountTeamAdditionTests.TestContext.BulkAssertions: line 136, column 13: user: USERXXXXXXX oppty access: None20100121143947.267:Class.AccountTeamAdditionTests.TestContext.BulkAssertions: line 137, column 13: user: USERXXXXXXX case access: None20100121143947.267:Class.AccountTeamAdditionTests.TestContext.BulkAssertions: line 134, column 13: user: USERYYYYYY account access: Edit20100121143947.267:Class.AccountTeamAdditionTests.TestContext.BulkAssertions: line 135, column 13: user: USERYYYYYY contact access: Edit20100121143947.267:Class.AccountTeamAdditionTests.TestContext.BulkAssertions: line 136, column 13: user: USERYYYYYY oppty access: None20100121143947.267:Class.AccountTeamAdditionTests.TestContext.BulkAssertions: line 137, column 13: user: USERYYYYYY case access: None
It all looks good in the unit tests. But when I try this in the UI the trigger fires as expected, but the results are that the two people have Read Only for account and contact, and None for opportunity and case (which I'm cool with).
Any ideas? I can also query Salesforce db and see that they two people are in the AccountShare table with the PROPER access rights...but still nothing in the UI. Am I missing something on the AccountTeamMember table? I want to alter the AccountAccessLevel value there, but it's not accessable in the API.
I'm beyond stuck on this one.
Cheers,
Bryan
