Creating an OnlineMeeting for an organizer without TollFree Numbers causes Kiota deserialization error
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 48/100
Rechercherichtung
Beginnen Sie mit dem AudioConferencing-Modell unter vendor/microsoft/microsoft-graph/src/Generated/Models/AudioConferencing.php und der TypeUtils-Validierung, die unter vendor/microsoft/kiota-abstractions/src/Types/TypeUtils.php gemeldet wird. Reproduzieren Sie die Erstellung eines OnlineMeeting für einen Benutzer ohne Audio Conferencing Policy und verfolgen Sie anschließend die Deserialisierung der Antwort. Als abgeschlossen gilt die Aufgabe, wenn die Antwort ohne den Fehler einer null-Sammlung erfolgreich zurückgegeben wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Describe the bug
I am creating Online Meetings for users. For some users, this works fine. For others it does not.
Basic details are passed to create the meeting, and I need the OnlineMeeting body back to pull data.
It appears that when hydrating the models, the serialiser blows up at AudioConferencing. You will see this in the stack trace.
Expected behavior
It creates the meeting and returns the response
How to reproduce
Create a meeting with a user that has no Audio Conferencing Policy attached
SDK Version
2.49
Latest version known to work for scenario above?
No response
Known Workarounds
No response
Debug output
Click to expand log
```{"error":"Collection of type=string contains value of type=null","extractedError":"Collection of type=string contains value of type=null","userId":"5a9c723f-e3a6-43fb-92b2-104d65409585","exception":"UnexpectedValueException","file":"/home/jiminny/vendor/microsoft/kiota-abstractions/src/Types/TypeUtils.php","line":33,"trace":"#0 /home/jiminny/vendor/microsoft/microsoft-graph/src/Generated/Models/AudioConferencing.php(97): Microsoft\Kiota\Abstractions\Types\TypeUtils::validateCollectionValues(Array, 'string')
#1 /home/jiminny/vendor/microsoft/kiota-serialization-json/src/JsonParseNode.php(147): Microsoft\Graph\Generated\Models\AudioConferencing->Microsoft\Graph\Generated\Models\{closure}(Object(Microsoft\Kiota\Serialization\Json\JsonParseNode))
#2 /home/jiminny/vendor/microsoft/kiota-serialization-json/src/JsonParseNode.php(120): Microsoft\Kiota\Serialization\Json\JsonParseNode->assignFieldValues(Object(Microsoft\Graph\Generated\Models\AudioConferencing))
#3 /home/jiminny/vendor/microsoft/microsoft-graph/src/Generated/Models/OnlineMeetingBase.php(276): Microsoft\Kiota\Serialization\Json\JsonParseNode->getObjectValue(Array)
#4 /home/jiminny/vendor/microsoft/kiota-serialization-json/src/JsonParseNode.php(147): Microsoft\Graph\Generated\Models\OnlineMeetingBase->Microsoft\Graph\Generated\Models\{closure}(Object(Microsoft\Kiota\Serialization\Json\JsonParseNode))
#5 /home/jiminny/vendor/microsoft/kiota-serialization-json/src/JsonParseNode.php(120): Microsoft\Kiota\Serialization\Json\JsonParseNode->assignFieldValues(Object(Microsoft\Graph\Generated\Models\OnlineMeeting))
#6 /home/jiminny/vendor/microsoft/kiota-http-guzzle/src/GuzzleRequestAdapter.php(170): Microsoft\Kiota\Serialization\Json\JsonParseNode->getObjectValue(Array)
#7 /home/jiminny/vendor/php-http/promise/src/FulfilledPromise.php(39): Microsoft\Kiota\Http\GuzzleRequestAdapter->Microsoft\Kiota\Http\{closure}(Object(GuzzleHttp\Psr7\Response))
#8 /home/jiminny/vendor/microsoft/kiota-http-guzzle/src/GuzzleRequestAdapter.php(145): Http\Promise\FulfilledPromise->then(Object(Closure))
#9 /home/jiminny/vendor/microsoft/microsoft-graph/src/Generated/Users/Item/OnlineMeetings/CreateOrGet/CreateOrGetRequestBuilder.php(46): Microsoft\Kiota\Http\GuzzleRequestAdapter->sendAsync(Object(Microsoft\Kiota\Abstractions\RequestInformation), Array, Array)
</details>
### Configuration
_No response_
### Other information
_No response_
- Vorherrschende Sprache
- PHP
- Sterne
- 669
- Forks
- 150
- Ø Merge
- 15 Std. 21 Min.
- Gemergte PRs (30 T.)
- 3
Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus microsoftgraph/msgraph-sdk-php
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
microsoftgraph/msgraph-sdk-php#1794 · 2 Kommentare ·
-
bug: metadata type:bug
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
microsoftgraph/msgraph-sdk-php#1739 · 6 Kommentare ·
-
status:waiting-for-triage type:bug
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 68/100
microsoftgraph/msgraph-sdk-php#1643 · 8 Kommentare · 4 Reaktionen ·
-
status:waiting-for-triage
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
microsoftgraph/msgraph-sdk-php#1800 · 1 Reaktion ·
-
Now Offen
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 1/100
microsoftgraph/msgraph-sdk-php#1799 ·
Alle Issues in microsoftgraph/msgraph-sdk-php
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
getgrav/grav-plugin-api#45 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
RSS-Bridge/rss-bridge#5098 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
phingofficial/phing#2025 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
silverstripe/developer-docs#911 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100