vivo-project / VIVO

VIVO is an extensible semantic web application for research discovery and showcasing scholarly work
http://vivoweb.org
BSD 3-Clause "New" or "Revised" License
202 stars 127 forks source link

Add new entry of object property fail #3849

Closed litvinovg closed 7 months ago

litvinovg commented 1 year ago

Describe the bug Add new entry of object property fail if both faux property and object property appear on the same individual page (have the same range) if base property has 'select from existing' and 'provide selection' options selected, but faux property doesn't have that options set.

To Reproduce Steps to reproduce the behavior:

  1. Create object property, select 'select from existing' and 'provide selection' options.
  2. Create faux property with the same domain, don't set 'select from existing' and 'provide selection' options
  3. Go to individual page.
  4. Click on Add new entry on base object property
  5. Page with message "This property is currently configured to prohibit editing." will appear

Expected behavior Custom entry form should appear instead of error message.

litvinovg commented 7 months ago

Should be resolved by https://github.com/vivo-project/Vitro/pull/398