Lucie created this task.
Lucie added a subscriber: Lucie.
Lucie added projects: Wikibase-DataModel, Wikidata.
Lucie changed Security from none to none.

TASK DESCRIPTION
  "Wikibase\Repo\Store\WikiPageEntityStore has
  
    public function assignFreshId( Entity $entity ) {
      if ( $entity->getId() !== null ) {
          throw new StorageException( 'This entity already has an ID!' );
      }
  
      $contentModelId = $this->contentFactory->getContentModelForType( 
$entity->getType() );
      $id = $this->idGenerator->getNewEntityId( $contentModelId );
  
      $entity->setId( $id );
    }
  
  This cannot be changed to use EntityDocument do to the call to setId. This 
suggests adding a setId method to EntityDocument."
  https://github.com/wmde/WikibaseDataModel/issues/310

TASK DETAIL
  https://phabricator.wikimedia.org/T78284

REPLY HANDLER ACTIONS
  Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign 
<username>.

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucie
Cc: Aklapper, Lucie, Wikidata-bugs, aude



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to