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

mergeEntries error #6

Open
brrd opened this issue Sep 19, 2019 · 0 comments
Open

mergeEntries error #6

brrd opened this issue Sep 19, 2019 · 0 comments
Labels

Comments

@brrd
Copy link
Owner

brrd commented Sep 19, 2019

Long URL like:

lodel/admin/index.php?do=massassoc&lo=entries&edit=1&associate=1&identities[0]=5992&identities[1]=3727&identities[2]=4975&identities[3]=5618&identities[4]=2225&identities[5]=5835&identities[6]=4158&identities[7]=6163&identities[8]=4124&identities[9]=4103&identities[10]=5301&identities[11]=6190&identities[12]=4111&identities[13]=2405&identities[14]=4329&identities[15]=6000&identities[16]=4295&identities[17]=3452&identities[18]=5567&identities[19]=4107&identities[20]=4109&identries[0]=7637_6263

returns an error 500 with this message:

PHP Error (Notice) in file '/var/www/dev/lodel/lodel/scripts/context.php' on line 202 : 
Uninitialized string offset: 10

PHP Error (Notice) in file '/var/www/dev/lodel/lodel/scripts/context.php' on line 202 : 
Uninitialized string offset: 11

PHP Error (Notice) in file '/var/www/dev/lodel/lodel/scripts/context.php' on line 202 : 
Uninitialized string offset: 12

PHP Error (Notice) in file '/var/www/dev/lodel/lodel/scripts/context.php' on line 202 : 
Uninitialized string offset: 13

PHP Error (Notice) in file '/var/www/dev/lodel/lodel/scripts/context.php' on line 202 : 
Uninitialized string offset: 14

PHP Error (Notice) in file '/var/www/dev/lodel/lodel/scripts/context.php' on line 202 : 
Uninitialized string offset: 15

PHP Error (Notice) in file '/var/www/dev/lodel/lodel/scripts/context.php' on line 202 : 
Uninitialized string offset: 16

PHP Error (Notice) in file '/var/www/dev/lodel/lodel/scripts/context.php' on line 202 : 
Uninitialized string offset: 17

PHP Error (Notice) in file '/var/www/dev/lodel/lodel/scripts/context.php' on line 202 : 
Uninitialized string offset: 18

PHP Error (Notice) in file '/var/www/dev/lodel/lodel/scripts/context.php' on line 202 : 
Uninitialized string offset: 19

PHP Error (Notice) in file '/var/www/dev/lodel/lodel/scripts/context.php' on line 202 : 
Uninitialized string offset: 20

Looks like Lodel massassoc doesn't work well with more than 10 entities to move.
Possible workaround: split this in multiple requests.

@brrd brrd added the bug label Sep 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant