Page MenuHomePhabricator

normalize() and canonicalize() should work with degenerate objects if they are Quoted
Closed, ResolvedPublicBUG REPORT

Description

Description

Steps to reproduce (step by step instructions, with links, commands and necessary data to reproduce the error)

  1. call canonicalize on this object:
{
    "Z1K1": {
        "Z1K1": "Z9",
        "Z9K1": "Z99"
    },
    "Z99K1": {}
}

Observed behavior

  • you will get a Z22K2 error

Expected behavior/Acceptance criteria (returned value, expected error, performance expectations, etc.)

  • you shouldn't get an error

Completion checklist

Details

TitleReferenceAuthorSource BranchDest Branch
Update function-schemata sub-module to HEAD (5f40813)repos/abstract-wiki/wikifunctions/function-evaluator!29jforrestersync-function-schematamain
Update function-schemata sub-module to HEAD (5f40813)repos/abstract-wiki/wikifunctions/wikilambda-cli!12jforrestersync-function-schematamain
Update function-schemata sub-module to HEAD (4927eba) (BREAKING - changes some test outputs)repos/abstract-wiki/wikifunctions/function-orchestrator!39apinesync-function-schematamain
Support degenerate quoted objects in the mixed validator, normalization, and canonicalization.repos/abstract-wiki/wikifunctions/function-schemata!22apineapine-norms-canonsmain
Customize query in GitLab

Event Timeline

apine updated https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-orchestrator/-/merge_requests/39

Draft: Update function-schemata sub-module to HEAD (4927eba) (BREAKING - changes some test outputs)

dmartin merged https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-orchestrator/-/merge_requests/39

Update function-schemata sub-module to HEAD (4927eba) (BREAKING - changes some test outputs)

Change 938017 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/WikiLambda@master] Update function-schemata sub-module to HEAD (5f40813)

https://gerrit.wikimedia.org/r/938017

Change 938017 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Update function-schemata sub-module to HEAD (5cc2fc7)

https://gerrit.wikimedia.org/r/938017