Strange behavior of metadata lookup button in Document Properties dialog

Reported by Alexey Balmashnov on 2007-08-17
4
Affects Status Importance Assigned to Milestone
Referencer
Undecided
Unassigned

Bug Description

The "Look up..." button is always turned on.

Although, if I understand it correctly, this button should be enabled, when url to look for a document metadata is already assigned (available), or such data is being entered in the dialog.

Referencer 1.0.4 and svn rev 542 are affected

John S (jcspray) wrote :

Patch is the right idea, but needs a couple of changes:
 - DOI isn't the only way to get metadata, there's also eprint, which is considered an "extra field". So sensitivity also needs updating on adding, removing or editing an extra field, and the update needs to check whether the eprint field is present.
 - In update(), canWebLink should be canGetMetadata

Cheers,
John

John S (jcspray) wrote :

Marking confirmed, on the basis that the "Look up..." button really shouldn't be sensitive when it's non-functional.

Changed in referencer:
status: New → Confirmed

Ok. It works now. Hope, I did not miss anything.

John S (jcspray) wrote :

I've (eventually!) committed this to subversion.

Changed in referencer:
status: Confirmed → Fix Committed
Changed in referencer:
milestone: none → 1.2.0
Changed in referencer:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers