Page MenuHomePhabricator

Default new ZObject in Create should not require deleting and re-adding Z2K2 key
Closed, ResolvedPublicBUG REPORT

Description

Steps to Reproduce:

  1. Go to Special:CreateZObject

Actual Results:

  1. Z2K2 key value defaults to empty string ("")
  2. To do a non-string ZObject you need to delete the Z2K2 key and re-add it.

Expected Results:
Default object should be ready to add an arbitrary value for the Z2K2 key.

Event Timeline

Change 676084 had a related patch set uploaded (by ArthurPSmith; author: ArthurPSmith):

[mediawiki/extensions/WikiLambda@master] Set Z2K2 key of newly created ZObject to null

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

Change 676084 abandoned by ArthurPSmith:

[mediawiki/extensions/WikiLambda@master] Set Z2K2 key of newly created ZObject to null

Reason:

taking a different approach to this

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

Change 681695 had a related patch set uploaded (by ArthurPSmith; author: ArthurPSmith):

[mediawiki/extensions/WikiLambda@master] set Z2K2 to null if it is initially an empty string

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

Change 681695 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] set Z2K2 to null if it is initially an empty string

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

It's working on notwikilambda! Closing...