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

app:check-code Element 'types' is not expected #12942

Closed
Rello opened this issue Dec 9, 2018 · 3 comments
Closed

app:check-code Element 'types' is not expected #12942

Rello opened this issue Dec 9, 2018 · 3 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug needs info

Comments

@Rello
Copy link
Contributor

Rello commented Dec 9, 2018

Hello Masters,

In info.xml I am using

	<types>
   		<filesystem/>
 	</types>

According the the help forum, this is required to get filehooks working since NC14
Util::connectHook('OC_Filesystem', 'delete', '\OCA\audioplayer\Hooks\FileHooks', 'deleteTrack');

but app-checker complains about it:

Invalid appinfo.xml file found: Element 'types': This element is not expected. Expected is one of ( background-jobs, repair-steps, two-factor-providers, commands, settings, activity, dashboard, fulltextsearch, navigations, contactsmenu ).

was the requirement for the types config removed? or is it still required?

@Rello Rello added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Dec 9, 2018
@matiasdelellis
Copy link

Hi,
We are working on another application, and for trying to do things right, eliminate this node of info.xml, and our code stopped working.. We went crazy doing tests, and now discovered this .. 😞

Thanks @Rello

Please, not only that the report fails, it is not documented anywhere either..

@skjnldsv
Copy link
Member

@blizzz
Copy link
Member

blizzz commented Aug 15, 2019

The order of the elements in the info.xml is not arbitrary but defined in the XML schema. The types for instances has to follow the namespace tag. Please see https://apps.nextcloud.com/schema/apps/info.xsd

@blizzz blizzz closed this as completed Aug 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug needs info
Projects
None yet
Development

No branches or pull requests

4 participants