Page MenuHomePhabricator

DefaultView: Type mode=Z18 (argument reference) not shown in a composition
Closed, ResolvedPublicBUG REPORT

Description

Description

On edit mode, when expanding an implementation composition, the argument references don't show properly in the type selector.
The type selector (ZObjectType.vue) when inside an Implementation composition, should show the option Argument Reference, but it's not being shown.

Steps to reproduce:

  1. Go to https://wikifunctions.beta.wmflabs.org/wiki/Z10038?view=default-view&action=edit
  2. Expand Composition

Observed behavior:

Screenshot from 2023-05-16 10-28-01.png (799×497 px, 31 KB)

  • Expanding "Type" field, we can only see the options "Reference", "Function call" and "Boolean".

Expected behavior (Acceptance criteria):

  • The "Type" field should have the options "Reference", "Function call" and "Boolean" and "Argument reference"
  • The option "Argument reference" should be selected

Completion checklist

Event Timeline

Change 920223 had a related patch set uploaded (by Genoveva Galarza; author: Genoveva Galarza):

[mediawiki/extensions/WikiLambda@master] Fix isInsideComposition getter

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

Change 920223 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Fix isInsideComposition getter

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

DVrandecic subscribed.

Argument references are clearly shown and can be selected.