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

Local actors not added to the cache #71

Closed
juliusknorr opened this issue Nov 28, 2018 · 2 comments
Closed

Local actors not added to the cache #71

juliusknorr opened this issue Nov 28, 2018 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@juliusknorr
Copy link
Member

juliusknorr commented Nov 28, 2018

Steps to reproduce:

  1. Create a new user
  2. Login as that user
  3. Open the social app

@daita Maybe we should try to avoid not null constraints for entries where it isn't really important to have a value?

An exception occurred while executing 'INSERT INTO `oc_social_cache_actors` (`id`, `account`, `type`, `local`, `following`, `followers`, `inbox`, `shared_inbox`, `outbox`, `featured`, `url`, `preferred_username`, `name`, `summary`, `public_key`, `source`, `creation`) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params ["https:\/\/local.dev.bitgrid.net\/index.php\/apps\/social\/@admin", "admin@local.dev.bitgrid.net", "Person", "1", "https:\/\/local.dev.bitgrid.net\/index.php\/apps\/social\/@admin\/following", "https:\/\/local.dev.bitgrid.net\/index.php\/apps\/social\/@admin\/followers", "https:\/\/local.dev.bitgrid.net\/index.php\/apps\/social\/@admin\/inbox", "https:\/\/local.dev.bitgrid.net\/index.php\/apps\/social\/inbox", "https:\/\/local.dev.bitgrid.net\/index.php\/apps\/social\/@admin\/outbox", "", "https:\/\/local.dev.bitgrid.net\/index.php\/apps\/social\/@admin", "admin", "", "", "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvHUFcWRKw4WaUYuz2OR2\nWX1kgJAqH8PylUnDzqeFDl7Qyled\/orowxGrbmQQP+xe6BqMZMOw9FJO5MWuNmdD\nB4YibM76XUVCrPY5VvuQysbbZlqO0Etp1oEKbfTK3RVITry5eEO4K9C9Iojo1O6m\ntygdKPgWVlWlwjByvN5wIw1Irb9kwl+yrN\/XxWSX6N2fXVgPl0mJQA58B6dmY\/DW\nqMX7h2JONpCpFHliAih6rykyUe+AWZ8fVH87R3A4+v9wK1zTpyXyBehYS2OYP6ik\nSOVkocYTSIr+bi6FwxzRVyAx5ltR5ZKByIDjCGoViISw\/J4Nh8VDWeqI4FU8wuBK\n1wIDAQAB\n-----END PUBLIC KEY-----\n", "{\"@context\":[\"https:\/\/www.w3.org\/ns\/activitystreams\",\"https:\/\/w3id.org\/security\/v1\"],\"id\":\"https:\/\/local.dev.bitgrid.net\/index.php\/apps\/social\/@admin\",\"type\":\"Person\",\"url\":\"https:\/\/local.dev.bitgrid.net\/index.php\/apps\/social\/@admin\",\"local\":true,\"aliases\":[\"https:\/\/local.dev.bitgrid.net\/index.php\/apps\/social\/@admin\",\"https:\/\/local.dev.bitgrid.net\/index.php\/apps\/social\/users\/admin\"],\"preferredUsername\":\"admin\",\"name\":\"\",\"inbox\":\"https:\/\/local.dev.bitgrid.net\/index.php\/apps\/social\/@admin\/inbox\",\"outbox\":\"https:\/\/local.dev.bitgrid.net\/index.php\/apps\/social\/@admin\/outbox\",\"account\":\"admin@local.dev.bitgrid.net\",\"following\":\"https:\/\/local.dev.bitgrid.net\/index.php\/apps\/social\/@admin\/following\",\"followers\":\"https:\/\/local.dev.bitgrid.net\/index.php\/apps\/social\/@admin\/followers\",\"endpoints\":{\"sharedInbox\":\"https:\/\/local.dev.bitgrid.net\/index.php\/apps\/social\/inbox\"},\"publicKey\":{\"id\":\"https:\/\/local.dev.bitgrid.net\/index.php\/apps\/social\/@admin#main-key\",\"owner\":\"https:\/\/local.dev.bitgrid.net\/index.php\/apps\/social\/@admin\",\"publicKeyPem\":\"-----BEGIN PUBLIC KEY-----\\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvHUFcWRKw4WaUYuz2OR2\\nWX1kgJAqH8PylUnDzqeFDl7Qyled\/orowxGrbmQQP+xe6BqMZMOw9FJO5MWuNmdD\\nB4YibM76XUVCrPY5VvuQysbbZlqO0Etp1oEKbfTK3RVITry5eEO4K9C9Iojo1O6m\\ntygdKPgWVlWlwjByvN5wIw1Irb9kwl+yrN\/XxWSX6N2fXVgPl0mJQA58B6dmY\/DW\\nqMX7h2JONpCpFHliAih6rykyUe+AWZ8fVH87R3A4+v9wK1zTpyXyBehYS2OYP6ik\\nSOVkocYTSIr+bi6FwxzRVyAx5ltR5ZKByIDjCGoViISw\/J4Nh8VDWeqI4FU8wuBK\\n1wIDAQAB\\n-----END PUBLIC KEY-----\\n\"}}", "2018-11-28 20:59:27"]:

SQLSTATE[HY000]: General error: 1364 Field 'icon_id' doesn't have a default value

@juliusknorr juliusknorr added the bug Something isn't working label Nov 28, 2018
@ArtificialOwl
Copy link
Member

fixed ?

@juliusknorr
Copy link
Member Author

Yes, works now. 👍

@jancborchardt jancborchardt added this to the 0.1 🥚 milestone Dec 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants