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

mysql components column is too small to hold "VEVENT,VJOURNAL,VTODO" #805

Closed
evert opened this issue Mar 29, 2016 · 4 comments
Closed

mysql components column is too small to hold "VEVENT,VJOURNAL,VTODO" #805

evert opened this issue Mar 29, 2016 · 4 comments

Comments

@evert
Copy link
Member

evert commented Mar 29, 2016

From @tigerfoot on March 28, 2016 19:10

Try to create or modify an existing calendar with adding support Notes choices

exception 'PDOException' with message 'SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'components' at row 1' in /srv/www/vhosts/a.ioda.net/Core/Frameworks/Flake/Core/Database.php:180
Stack trace:
#0 /srv/www/vhosts/a.ioda.net/Core/Frameworks/Flake/Core/Database.php(180): PDO->query('INSERT INTO cal...')
#1 /srv/www/vhosts/a.ioda.net/Core/Frameworks/Flake/Core/Database.php(40): Flake\Core\Database->query('INSERT INTO cal...')
#2 /srv/www/vhosts/a.ioda.net/Core/Frameworks/Flake/Core/Model/Db.php(92): Flake\Core\Database->exec_INSERTquery('calendars', Array)
#3 /srv/www/vhosts/a.ioda.net/Core/Frameworks/Formal/Form.php(226): Flake\Core\Model\Db->persist()
#4 /srv/www/vhosts/a.ioda.net/Core/Frameworks/BaikalAdmin/Controller/User/Calendars.php(154): Formal\Form->execute()
#5 /srv/www/vhosts/a.ioda.net/Core/Frameworks/BaikalAdmin/Controller/User/Calendars.php(46): BaikalAdmin\Controller\User\Calendars->actionNew()
#6 /srv/www/vhosts/a.ioda.net/Core/Frameworks/Flake/Core/Render/Container.php(63): BaikalAdmin\Controller\User\Calendars->execute()
#7 /srv/www/vhosts/a.ioda.net/Core/Frameworks/Flake/Controller/Page.php(83): Flake\Core\Render\Container->execute()
#8 /srv/www/vhosts/a.ioda.net/Core/Frameworks/BaikalAdmin/WWWRoot/index.php(92): Flake\Controller\Page->render()
#9 {main}```

_Copied from original issue: fruux/Baikal#519_
@evert evert added the bug label Mar 29, 2016
@evert
Copy link
Member Author

evert commented Mar 29, 2016

Interesting. Is this upgraded from an older baikal version?

@evert
Copy link
Member Author

evert commented Mar 29, 2016

The components column is too small to hold "VEVENT,VJOURNAL,VTODO". If you are comfortable with this, you can modify the column to have a width of 21 instead of 20. I'm making this the default.

@tigerfoot
Copy link

The install was a full new installation with latest github release.

Thanks for the quick fix.

@staabm
Copy link
Member

staabm commented Mar 30, 2016

fixed via fruux@0b43a61

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants