Failed to parse doctrine entities in the packages

Permalink Browser Info Environment
I've failed to parse doctrine entities in the packages directory.

For example, I ran the migration on the site with the GDPR package installed but couldn't fix the tables.
Because the migration package only checks in the src/Entity directory even if entity classes are in the src/Gdpr/Entity directory.

I think you can change this line

$this->parseEntities($dir . 'src/Entity');


to below.

$this->parseEntities($dir . 'src');

Type: Discussion
Status: New
hissy
View Replies:

concrete5 Environment Information

# concrete5 Version
Core Version - 8.5.15
Version Installed - 8.5.15
Database Version - 20220319043123

# Database Information
Version: 8.0.33
SQL Mode: ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION

# concrete5 Packages
Advanced Event List (0.0.2), Advanced HTML Block (0.9), Block Developer (1.1.1), Block Finder (0.9.2), Clear Clipboard (1.0.0), Custom Confirm Form (0.0.2), Database Migration (1.0.0), GDPR (1.8.2), Nestable Manual Nav (1.2.2), Open Graph Tags Lite (2.1.3), Page Redirect (2.0), Page Selector Attribute (2.0), Ruby Converter (0.1)

# concrete5 Overrides

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
nginx/1.25.4

# Server API
fpm-fcgi

# PHP Version
7.4.33

# PHP Extensions
bcmath, blackfire, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, exif, FFI, fileinfo, filter, ftp, gd, gmp, hash, iconv, imagick, intl, json, libxml, mbstring, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, readline, redis, Reflection, session, shmop, SimpleXML, soap, sockets, sodium, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tokenizer, xml, xmlreader, xmlwriter, zip, zlib

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - -1
max_input_vars - 1000
memory_limit - 128M
post_max_size - 8M
upload_max_filesize - 20M
mbstring.regex_retry_limit - 1000000
mbstring.regex_stack_limit - 100000
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
redis.pconnect.connection_limit - 0
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
unserialize_max_depth - 4096

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.