Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected data #11640

Open
urbalazs opened this issue Jun 13, 2022 · 1 comment
Open

Unexpected data #11640

urbalazs opened this issue Jun 13, 2022 · 1 comment
Labels

Comments

@urbalazs
Copy link

From the log of Friendica 2022.06

[WARNING]: Unexpected data {
    "outbox": {
        "@context": [
            "https://www.w3.org/ns/activitystreams",
            "https://w3id.org/security/v1",
            {
                "addressRegion": "sc:addressRegion",
                "timezone": {
                    "@id": "mz:timezone",
                    "@type": "sc:Text"
                },
                "pt": "https://joinpeertube.org/ns#",
                "manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
                "inLanguage": "sc:inLanguage",
                "address": {
                    "@id": "sc:address",
                    "@type": "sc:PostalAddress"
                },
                "discoverable": "toot:discoverable",
                "repliesModerationOption": {
                    "@id": "mz:repliesModerationOption",
                    "@type": "mz:repliesModerationOptionType"
                },
                "sc": "http://schema.org#",
                "mz": "https://joinmobilizon.org/ns#",
                "category": "sc:category",
                "joinModeType": {
                    "@id": "mz:joinModeType",
                    "@type": "rdfs:Class"
                },
                "Hashtag": "as:Hashtag",
                "propertyID": "sc:propertyID",
                "PostalAddress": "sc:PostalAddress",
                "discussions": {
                    "@id": "mz:discussions",
                    "@type": "@id"
                },
                "streetAddress": "sc:streetAddress",
                "anonymousParticipationEnabled": {
                    "@id": "mz:anonymousParticipationEnabled",
                    "@type": "sc:Boolean"
                },
                "addressLocality": "sc:addressLocality",
                "joinMode": {
                    "@id": "mz:joinMode",
                    "@type": "mz:joinModeType"
                },
                "location": {
                    "@id": "sc:location",
                    "@type": "sc:Place"
                },
                "toot": "http://joinmastodon.org/ns#",
                "uuid": "sc:identifier",
                "maximumAttendeeCapacity": "sc:maximumAttendeeCapacity",
                "participationMessage": {
                    "@id": "mz:participationMessage",
                    "@type": "sc:Text"
                },
                "openness": {
                    "@id": "mz:openness",
                    "@type": "@id"
                },
                "members": {
                    "@id": "mz:members",
                    "@type": "@id"
                },
                "events": {
                    "@id": "mz:events",
                    "@type": "@id"
                },
                "resources": {
                    "@id": "mz:resources",
                    "@type": "@id"
                },
                "addressCountry": "sc:addressCountry",
                "posts": {
                    "@id": "mz:posts",
                    "@type": "@id"
                },
                "commentsEnabled": {
                    "@id": "pt:commentsEnabled",
                    "@type": "sc:Boolean"
                },
                "value": "sc:value",
                "PropertyValue": "sc:PropertyValue",
                "repliesModerationOptionType": {
                    "@id": "mz:repliesModerationOptionType",
                    "@type": "rdfs:Class"
                },
                "todos": {
                    "@id": "mz:todos",
                    "@type": "@id"
                },
                "ical": "http://www.w3.org/2002/12/cal/ical#",
                "postalCode": "sc:postalCode",
                "@language": "und"
            }
        ],
        "attributedTo": "https://mob.globenet.org/@la_chose",
        "first": {
            "attributedTo": "https://mob.globenet.org/@la_chose",
            "id": "https://mob.globenet.org/@la_chose/outbox?page=1",
            "orderedItems": [],
            "partOf": "https://mob.globenet.org/@la_chose/outbox",
            "type": "OrderedCollectionPage"
        },
        "id": "https://mob.globenet.org/@la_chose/outbox",
        "totalItems": 0,
        "type": "OrderedCollection"
    },
    "worker_id": "eaa2235",
    "worker_cmd": "UpdateContact"
} - {
    "file": "Probe.php",
    "line": 2048,
    "function": "updateFromOutbox",
    "uid": "6599b9",
    "process_id": 80728
}
@urbalazs urbalazs added the Bug label Jun 13, 2022
@Quix0r
Copy link

Quix0r commented Jun 23, 2022

Yes, that should happen, because "first" does contain an empty "orderedItems" array and no "href" (and other conditions didn't match, too.

That's so far the code logic. Maybe @MrPetovan or @nupplaphil @annando can check this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants