ArctosDB / dev

Current public release and project roadmap for development
https://arctos.database.museum
Apache License 2.0
0 stars 0 forks source link

Bug Report: Collection attributes are not saving #104

Closed mkoo closed 2 weeks ago

mkoo commented 3 weeks ago

Describe the bug with manage_collection permissions, we need to add in collection descriptions (and other attributes), but hitting save does not save the attribute-- the entry box disappears and no error message happens. The value clearly is not saving.

To Reproduce Steps to reproduce the behavior:

  1. Go to any collection attribute and try to add a description (only attribute I tested)
  2. Click on save
  3. Get nothing including no error

Clearly not the expected behavior! @RJSS8 noted this first

dustymc commented 3 weeks ago

I can't reproduce and need more info.

Do this click button

Screenshot 2024-11-07 at 10 04 09

reloads as

Screenshot 2024-11-07 at 10 04 18

edit and click

Screenshot 2024-11-07 at 10 04 38

and also reloads with changes

Screenshot 2024-11-07 at 10 04 46

thought possibly " add a description" meant remarks but that works for me too.

Screenshot 2024-11-07 at 10 06 39 Screenshot 2024-11-07 at 10 06 47
mkoo commented 3 weeks ago

both Renato and I cannot add our opinion on tatertots... you're in FF right? I can troubleshoot the client environment a bit more...

mkoo commented 3 weeks ago

Can you delete it BTW? Also: You're in test so try it out in prod. Here's some more weirdness, I was able to add a second description to MVZ:Arch successfully, but now I cant delete it. (You try to delete!)

The real issue is with the newly created collections (BIOAPT) like BIOAPT:CCMAR Please test with those collections

dustymc commented 3 weeks ago

newly created collections

Thanks, that's what I needed, going dev, will confirm deletability.

RJSS8 commented 3 weeks ago

Hi everyone, Thanks for looking into this. When i try to include a description of the collection and hit save the attributes box just turns grey and nothing is actually added I believe it just refreshes. Ive tried this mainly in the BIOAPT:DEEPBB.

Things like collection header settings and other collection settings are working fine I think.

mkoo commented 3 weeks ago

this bug is likely related https://github.com/ArctosDB/dev/issues/106 so I'll check out all functions once this is pushed to prod -thx