Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: invalid attribute count for intersect object #18

Open
strwase opened this issue Oct 25, 2018 · 1 comment
Open

error: invalid attribute count for intersect object #18

strwase opened this issue Oct 25, 2018 · 1 comment

Comments

@strwase
Copy link

strwase commented Oct 25, 2018

Hi,

I'm having issues importing N-N relations.
when I try to import one of these intersects I'm getting the following error

invalid attribute count for intersect objectParameter name: AttribuesActual value was 3.

I've tried different configurations in the xml, all with the same result.

<DataBlock Name="Entity Permission Web Role" Entity="adx_entitypermission_webrole" Type="Intersect"> <Export> <Attributes> <Attribute Name="adx_entitypermissionid" IncludeNull="true" /> <Attribute Name="adx_webroleid" IncludeNull="true" /> </Attributes> </Export> <Import CreateWithId="true"> <Match> <Attribute Name="adx_entitypermission_webroleid" /> </Match> </Import> <Relation Block="Entity Permission" Attribute="adx_entitypermissionid" /> <Relation Block="Web Role" Attribute="adx_webroleid" /> </DataBlock>

<DataBlock Name="Entity Permission Web Role" Entity="adx_entitypermission_webrole" Type="Intersect"> <Export> <Attributes> <Attribute Name="adx_entitypermission_webroleid" /> <Attribute Name="adx_entitypermissionid" IncludeNull="true" /> <Attribute Name="adx_webroleid" IncludeNull="true" /> </Attributes> </Export> <Import CreateWithId="true"> <Match> <Attribute Name="adx_entitypermission_webroleid" /> </Match> </Import> <Relation Block="Entity Permission" Attribute="adx_entitypermissionid" /> <Relation Block="Web Role" Attribute="adx_webroleid" /> </DataBlock>

<DataBlock Name="Entity Permission Web Role" Entity="adx_entitypermission_webrole" Type="Intersect" > <Export> <Attributes> <Attribute Name="adx_entitypermissionid" IncludeNull="true" /> <Attribute Name="adx_webroleid" IncludeNull="true" /> </Attributes> </Export> <Import CreateWithId="true" > <Match> <Attribute Name="adx_entitypermissionid" /> <Attribute Name="adx_webroleid" /> </Match> </Import> <Relation Block="Entity Permission" Attribute="adx_entitypermissionid" /> <Relation Block="Web Role" Attribute="adx_webroleid" /> </DataBlock> </Blocks> </ShuffleDefinition>

@ManelPereira
Copy link

ManelPereira commented Sep 16, 2024

Did you manage to fix this? I am still having this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants