Bug #44602

Update YAML schemas to latest changes

Added by Bastian Waidelich over 2 years ago. Updated over 2 years ago.

Status:Resolved Start date:2013-01-17
Priority:Should have Due date:
Assigned To:Bastian Waidelich % Done:

100%

Category:-
Target version:TYPO3 Flow Base Distribution - 2.0
PHP Version: Complexity:
Has patch:No Affected Flow version:Git master

Description

Currently

./flow configuration:validate --type Settings

and
./flow configuration:validate --type Objects

Return errors for Flow configuration.
The respective schemas need to be adjusted to recent changes

composer.lock (36.2 kB) Michael Klapper, 2013-01-17 17:44

Associated revisions

Revision 911e2819
Added by Bastian Waidelich over 2 years ago

[BUGFIX] Adjust YAML schemas to latest changes

the CLI command "./flow configuration:validate" currently reports
invalid configuration for type "Settings" and "Objects" due to
outdated schema files.
This adjust respective schemas to recent Flow changes.

Change-Id: I2642f3a336e5d5f855d110e4001175db7171110f
Fixes: #44602
Releases: 2.0, master

Revision 7a41f8bd
Added by Bastian Waidelich over 2 years ago

[BUGFIX] Adjust YAML schemas to latest changes

the CLI command "./flow configuration:validate" currently reports
invalid configuration for type "Settings" and "Objects" due to
outdated schema files.
This adjust respective schemas to recent Flow changes.

Change-Id: I2642f3a336e5d5f855d110e4001175db7171110f
Fixes: #44602
Releases: 2.0, master

History

#1 Updated by Bastian Waidelich over 2 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

#2 Updated by Michael Klapper over 2 years ago

I still get the following errors on a fresh composer based installation:
./flow configuration:validate --type Objects ... 1 errors were found: - TYPO3.Flow.TYPO3\Flow\Session\SessionInterface.factoryMethodName -> This property is not allowed here, check the spelling if you think it belongs here.

./flow configuration:validate --type Settings ... 5 errors were found: - TYPO3.Flow.session -> Property PhpSession is required - TYPO3.Flow.session.name -> This property is not allowed here, check the spelling if you think it belongs here. - TYPO3.Flow.session.garbageCollectionProbability -> This property is not allowed here, check the spelling if you think it belongs here. - TYPO3.Flow.session.cookie -> This property is not allowed here, check the spelling if you think it belongs here. - TYPO3.Flow.error.exceptionHandler.defaultRenderingOptions -> This property is not allowed here, check the spelling if you think it belongs here.

What should I do to solve this messages?

Cheers,
Mick

#3 Updated by Bastian Waidelich over 2 years ago

Michael Klapper wrote:

I still get the following errors on a fresh composer based installation [...]

Those are exactly the errors that this patch should fix. Are you sure you have the latest version including 911e281962d0c2312d0718daa29a8c8d44bce064 ?

#4 Updated by Michael Klapper over 2 years ago

For some reason I got an previous version of Flow by installing a fresh instance using composer.

However, I run composer update and validated the settings again - the configuration is valid!

#5 Updated by Gerrit Code Review over 2 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch 2.0 has been pushed to the review server.
It is available at https://review.typo3.org/17863

#6 Updated by Bastian Waidelich over 2 years ago

  • Status changed from Under Review to Resolved

Also available in: Atom PDF