New XAR extension page is not resolved by the repository, no "Installable with the Extension Manager"

Hello,

I published a new extension page on extensions.xwiki.org on 25 August. The page is live, but the Extension Manager still cannot install it, and the repository does not know the extension at all.

Page: https://extensions.xwiki.org/xwiki/bin/view/Extension/Asyntai%20AI%20Chatbot/

What the page holds today:

ExtensionCode.ExtensionClass, object 0

name Asyntai AI Chatbot

type xar

category application

licenseName Apache License 2.0

summary filled

description filled

customInstallationOnly unchecked

installation empty

ExtensionCode.ExtensionVersionClass, object 0

id com.asyntai:asyntai-xwiki

version 1.0

type xar

download attach:asyntai-xwiki-1.0.xar

name Asyntai AI Chatbot

summary filled

licenseName Apache License 2.0

category application

notes filled

The file asyntai-xwiki-1.0.xar is attached to the page, 15.5 KB.

What I observe:

- The page shows no “Installable with the Extension Manager” label and no Download button. The summary box shows Type, Category, Developed by, Rating and License, and nothing else.

- /xwiki/rest/repository/extensions/com.asyntai:asyntai-xwiki answers 404.

- /xwiki/rest/repository/search?q=asyntai answers 200 with totalHits 0.

The page itself is indexed. /xwiki/rest/wikis/query?q=Asyntai&type=solr finds “Asyntai AI Chatbot”, and the site search finds it too. So Solr knows the page, but the repository does not treat it as an extension. That makes me think this is not an indexing delay, and that something stops the extension from being counted as valid.

Is there a flag on the extension, set by the server when it checks that a version and its download can be resolved, that I could be failing? If there is, I cannot see it from the object editor, and I do not know what would make it false while the attachment exists and the download field points at it by name.

Things I already tried:

1. At first the version object had an empty “type”. I set it to xar, and I also filled name, summary, licenseName and category on the version object. No change.

2. My first attempt left the version object numbered 1, because an earlier empty object 0 had been deleted and the gap remained. I removed every version object, saved, then added a fresh one so that it is numbered 0 again, and filled it. No change either.

One note on the process, in case it matters. On the edit page, the “Extension Version” link under “Add Downloads” creates the object but shows no fields for it, so I filled the object through the object editor at ?editor=object instead. The values save correctly and survive a reload.

Two questions:

1. Is anything else needed before the repository resolves a XAR extension whose file is an attachment rather than a Maven artifact?

2. Is there a validation or moderation step for a new contributor that I should wait for, or ask somebody to run?

The extension is a XAR only. There is no Java code, and no dependency beyond the XWiki Scheduler, which ships with XWiki Standard.

Thank you.

Hi @Asyntai

I let others answer for the rest, but there is no moderation before publishing extensions.

You have a different id in the version object (com.asyntai:asyntai-xwiki) and in the extension object (asyntai:asyntai-ai-chatbot). You might want to fix the wrong one.

That was it, thank you both.

The ExtensionClass object had id asyntai:asyntai-ai-chatbot, while the version object and the XAR both said com.asyntai:asyntai-xwiki. I made them match and the Download button appeared at once.

Note for anyone else: that id is not on the normal edit form, only in the object editor at ?editor=object.