This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
... | |
$transchoiceNode = new Node\Transchoice($transchoiceArguments, $transNode->getTemplateLine()); | |
$node->setNode('node', $transchoiceNode); | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Netgen\Bundle\ToolsBundle\Helper; | |
use eZ\Publish\API\Repository\Values\Content\Query; | |
use eZ\Publish\API\Repository\Values\Content\Query\SortClause; | |
use eZ\Publish\API\Repository\Values\Content\Location; | |
class SortClauseHelper | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @author Branko Ajzele <ajzele@gmail.com, http://foggyline.net> | |
*/ | |
$XMLRequestType = 'RacunZahtjev'; /* RacunZahtjev OR PoslovniProstorZahtjev */ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
txtund=$(tput sgr 0 1) # Underline | |
txtbld=$(tput bold) # Bold | |
reset='\[\e[00m\]' | |
bold='\[\e[01m\]' | |
red='\[\e[31m\]' | |
green='\[\e[32m\]' | |
orange='\[\e[33m\]' | |
blue='\[\e[34m\]' | |
purple='\[\e[35m\]' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eddie@abyss: ~/restScripts/xml/content [master] $ ./05-updateVersion.sh | |
POST /api/ezp/v2/content/objects/62/versions/2 HTTP/1.1 | |
Accept: application/vnd.ez.api.Version+xml | |
Accept-Encoding: gzip, deflate, compress | |
Content-Length: 1192 | |
Content-Type: application/vnd.ez.api.VersionUpdate+xml | |
Host: ezpublish5.local | |
User-Agent: HTTPie/0.4.1 | |
X-HTTP-Method-Override: PATCH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eddie@abyss [~] $ git clone git@github.com:ezsystems/ezpublish-legacy.git | |
Cloning into 'ezpublish-legacy'... | |
remote: Counting objects: 368949, done. | |
remote: Compressing objects: 100% (5/5), done. | |
remote: Total 368949 (delta 0), reused 0 (delta 0), pack-reused 368944 | |
Receiving objects: 100% (368949/368949), 207.06 MiB | 3.20 MiB/s, done. | |
Resolving deltas: 100% (269122/269122), done. | |
Checking connectivity... done. | |
eddie@abyss [~] $ cd ezpublish-legacy | |
eddie@abyss [~/ezpublish-legacy] ( ± master ) $ composer install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Netgen\Bundle\HelperBundle\Core\Persistence\Legacy\Content\FieldValue\Converter; | |
use eZ\Publish\Core\Persistence\Legacy\Content\FieldValue\Converter\RelationList as BaseRelationListConverter; | |
use eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition; | |
use eZ\Publish\Core\Persistence\Legacy\Content\StorageFieldDefinition; | |
use eZ\Publish\Core\Persistence\Legacy\Content\StorageFieldValue; | |
use eZ\Publish\SPI\Persistence\Content\FieldValue; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eddie@abyss: ~ $ ./restScripts/xml/content/07-loadContent.sh | |
GET /api/ezp/v2/content/objects/58 HTTP/1.1 | |
Accept: application/vnd.ez.api.Content+xml | |
Accept-Encoding: gzip, deflate, compress | |
Host: ezpublish5.local | |
User-Agent: HTTPie/0.3.0 | |
HTTP/1.0 200 OK |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) eZ\Publish\API\Repository\Tests\FieldType\XmlTextIntegrationTest::testCreateContentType | |
DOMDocument::loadXML(): Specification mandate value for attribute xm in Entity, line: 2 | |
/home/eddie/ezp-next/eZ/Publish/Core/Persistence/Legacy/Content/FieldValue/Converter/XmlText.php:92 | |
/home/eddie/ezp-next/eZ/Publish/Core/Persistence/Legacy/Content/Type/Mapper.php:353 | |
/home/eddie/ezp-next/eZ/Publish/Core/Persistence/Legacy/Content/Type/Mapper.php:204 | |
/home/eddie/ezp-next/eZ/Publish/Core/Persistence/Legacy/Content/Type/Mapper.php:116 | |
/home/eddie/ezp-next/eZ/Publish/Core/Persistence/Legacy/Content/Type/Handler.php:228 | |
/home/eddie/ezp-next/eZ/Publish/Core/Persistence/Legacy/Content/Type/Handler.php:182 | |
/home/eddie/ezp-next/eZ/Publish/Core/Repository/ContentTypeService.php:881 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LogicException: Cannot change the name of an active session | |
in /var/www/ezpublish5/app/cache/dev/classes.php line 500 | |
at AbstractProxy->setName('eZSESSID74e6a8b111ea7da1a7d0a596f4c35208') in /var/www/ezpublish5/app/cache/dev/classes.php line 220 | |
at NativeSessionStorage->setName('eZSESSID74e6a8b111ea7da1a7d0a596f4c35208') in /var/www/ezpublish5/app/cache/dev/classes.php line 792 | |
at Session->setName('eZSESSID74e6a8b111ea7da1a7d0a596f4c35208') in /home/eddie/ezp-next/eZ/Bundle/EzPublishCoreBundle/EventListener/SessionSetDynamicNameListener.php line 69 | |
at SessionSetDynamicNameListener->onSiteAccessMatch(object(PostSiteAccessMatchEvent)) | |
at call_user_func(array(object(SessionSetDynamicNameListener), 'onSiteAccessMatch'), object(PostSiteAccessMatchEvent)) in /var/www/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/ContainerAwareTraceableEventDispatcher.php line 139 | |
at ContainerAwareTraceableEventDispatcher->doDispatch(array(array(object(SiteAccessListener), 'onSiteAccessMatch'), array(objec |
NewerOlder