◄ ► | Muuda | Home | Admin | en de fr et | Sign in

#3585 (Cannot set "primary" of addresses.Address)

by Luc Saffre · in Developers · assigned to tonis

Kokkuvõte

When I check the field and click on another field to submit the grid cell, I get a red notification and the value is not changed.

Children

Kommentaarid

  • 6 aastat, 6 kuud ago by tonis about #3585 (Cannot set "primary" of addresses.Address) : Working. Apache was pointing at ./env/static but root was ./static Made apache point to the right place and removed the old static files. Is working now.
  • 6 aastat, 6 kuud ago by khchine5 about #3585 (Cannot set "primary" of addresses.Address) : I just build again react and made a new pypi release. On froinde , I got the following error when running collectstatic command: It will be ignored since only the first encountered file is collected. If this is not what you want, make sure every static file has a unique path
  • 6 aastat, 6 kuud ago by tonis about #3585 (Cannot set "primary" of addresses.Address) : Very odd. Today we can do a screen share to look at it in a few hours
  • 6 aastat, 6 kuud ago by Luc Saffre about #3585 (Cannot set "primary" of addresses.Address) : It is still there. I can sign in and get the dashboard, but when I click on any of the quick links, my page gets completely blank. Only `Site --> About` and `Calendar --> Calendar` work (the only views that aren't grids.
  • 6 aastat, 6 kuud ago by tonis about #3585 (Cannot set "primary" of addresses.Address) : Updated Hobbit and Froinde. Hobbit works including the new checkbox code. However I did get one error, but I couldn't reproduce it, more than once and I lost the log. @luc let us know in the morning if Froinde is working nicely or not. Keep aware of what you're pressing / doing if you get an error...
  • 6 aastat, 6 kuud ago by tonis about #3585 (Cannot set "primary" of addresses.Address) : Indeed. Not able to reproduce the error. Going to update Hobbit. See if the same error happens. If only the grid views don't work you might be able to create a user by going mysettings -> add user...
    Or the issue is that there's some required update in Lino aswell... Going to make snapshot, and do...
  • 6 aastat, 6 kuud ago by Luc Saffre about #3585 (Cannot set "primary" of addresses.Address) : And I can't even create one for you easily now because the web ui is broken. I could write a script that creates an account. Or easier I could tell you my credentials.
  • 6 aastat, 6 kuud ago by tonis about #3585 (Cannot set "primary" of addresses.Address) : That's a minified error. Not very useful by itself. I'll have a look tonight. I'll experiment on Hobbit if there's no clear reason why errors are showing up, as I don't think I have an account on froinde.
  • 6 aastat, 6 kuud ago by Luc Saffre about #3585 (Cannot set "primary" of addresses.Address) : The dashboard now shows up, but no grid window works. JS console says:: TypeError: "n is undefined"    value froinde.saffre-rumma.net/static/react/main.js:11 (...) <anonymous> javascript:window.App.runAction({ "actorId": "contacts.Persons", "an": "grid", "rp": "dashboard-main", "status": { } })...
  • 6 aastat, 6 kuud ago by khchine5 about #3585 (Cannot set "primary" of addresses.Address) : Fixed. I did again a new release of react and an upgrade of froinde and I am able to login now.
  • 6 aastat, 6 kuud ago by tonis about #3585 (Cannot set "primary" of addresses.Address) : Indeed. Looks as if my `inv sdist` is outputing a tar without the tmplates or static files...
     (py3)  tonis@pluto  ~/Projects/lino/src/react/dist/lino_react-20.4.22/lino_react   master   tree . ├── __init__.py ├── projects │  ├── __init__.py │  ├── lydiaReact │  │  ├── __init__.py │  │  ├── m...
  • 6 aastat, 6 kuud ago by Luc Saffre about #3585 (Cannot set "primary" of addresses.Address) : It's completely broken now, cannot even sign in :-) Look at froinde.saffre-rumma.net/ to see the traceback.
  • 6 aastat, 6 kuud ago by tonis about #3585 (Cannot set "primary" of addresses.Address) : @luc Froinde has been updated I think, can't test as I don't think I have an account. Closing ticket, reopen if there's any new issues or not working.
  • 6 aastat, 6 kuud ago by tonis about #3585 (Cannot set "primary" of addresses.Address) : Fixed. The put error was caused by trying to submit all row data as a put. Made a bunch of changes in the editor open method so that clicking the bool field will open the editor as well as toggle the value and mark it as dirty. Also working for phantom row. Also did some bug-fixes for phantom row d...
  • 6 aastat, 6 kuud ago by tonis about #3585 (Cannot set "primary" of addresses.Address) : Looked at the network and it seems that we might be sending the bool value as 'true'... Got interrupted. Today so couldn't dig too deep. If can't sleep will get the the bottom of it.
  • 6 aastat, 6 kuud ago by tonis about #3585 (Cannot set "primary" of addresses.Address) : Was not able to get a red notification, but rather no feedback from change. Reason was that we do a hack for bool fields to switch their value on editor open, but we forgot to set the editor as dirty. So if you switch a few times it 'works'.
    After that fix there was a server side error using both h...
  • 6 aastat, 6 kuud ago by tonis about #3585 (Cannot set "primary" of addresses.Address) : Sounds as if the main.js was compiled with a wrong Prime react version. Just a hunch.
  • 6 aastat, 6 kuud ago by Luc Saffre about #3585 (Cannot set "primary" of addresses.Address) : We reproduced it for a person with two addresses.
  • 6 aastat, 6 kuud ago by khchine5 about #3585 (Cannot set "primary" of addresses.Address) : The checkbox doesn't make any ajax call to update the server.