Problem/Motivation
I have this error sometime
Dkd\PhpCmis\Exception\CmisRuntimeException: { "status" : { "code" : 500, "name" : "Internal Error", "description" : "An error inside the HTTP server which prevented it from fulfilling the request." }, "message" : "Index 1 out of bounds for length 1", "exception" : "", "callstack" : [ ], "server" : "Community v6.2.1 (r531c5430-b1572) schema 13,001", "time" : "Jul 29, 2020, 12:35:36 PM" }
in Alfresco :
String[] authorizationParts = authorization.split(" ");
if (!authorizationParts[0].equalsIgnoreCase("basic"))
{
throw new WebScriptException(401, "Authorization '" + authorizationParts[0] + "' not supported.");
}
String decodedAuthorisation = new String(Base64.decode(authorizationParts[1]));
Maybe the ticket is empty at this line : https://git.drupalcode.org/project/cmis/-/blob/8.x-2.x/src/CmisConnectionApi.php#L110
Issue fork cmis-3162618
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 8.x-2.x changes, plain diff MR !1
Comments
Comment #2
liber_tFull Drupal stack strace :
Comment #3
GrimreaperHello,
Ok, this needs a clear step to reproduce.
Comment #4
liber_teg, if you are in query page, The logout is executed in ajax call, not in page.
and I have the problem with tempstore which is empty
Comment #6
liber_tComment #7
GrimreaperReview done, thanks for your work.
Also a last point on the commit message. If I am not wrong, I helped you in private with this issue, so, It would be fair to be in the commit message ;). We will see that when merging when it will be ready :)
Comment #8
GrimreaperThanks to not mark comment has resolved by yourself. Let the reviewer do that. Put a comment "Done" (for example) to notify and for you to remember that it is done.
Comment #9
GrimreaperComment #12
GrimreaperCommited on 8.x-2.x and then cherry-picked on 3.0.x