Closed (fixed)
Project:
Bibliography Module
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Oct 2010 at 10:32 UTC
Updated:
17 Dec 2010 at 09:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
rjerome commentedWhile that was an interesting idea (writing out a temp file and re-importing it) I choose to refactor the code to allow parsing of a string containing RIS record and then prepopulating the input form with that data. This is more consistent with the way the other pre-populate methods work.
http://drupal.org/cvs?commit=444714
Ron.
Comment #2
eugenmayer commentedWell your approach is the more clean one, but your the author, iam not even sure about the whole architecture, i was just qucikfixing it.
Anyway thansk
Comment #3
rjerome commentedDon't get me wrong, I wasn't criticizing your efforts, just explaining why I choose to do it differently.
I appreciate any and all suggestions and patches.
Ron.
Comment #4
eugenmayer commentedNo worries.
Actually i ran into a bug and iam not sure were it comes from. The input of a RIS import is limited to 2048 in my implementation ( or generally ). Do you have an idea if your fix is already affected by this?
Comment #5
rjerome commentedIf you look at line 50 of the biblio_ris.module file, you will see where that limitation is being imposed. Just remove that line and you should be good to go.
Comment #6
eugenmayer commentedIs this by intention or do we need a fix for this? My customer told me that this limitation is kind of useless, as if you have abstracts this boundary will be hit like in no time.
Any reasons to have it in there? Thanks
Comment #7
rjerome commentedNo there is no reason, it was probably just a cut'n'paste carry over :-(
It will be gone in the next release.
Ron.
Comment #8
eugenmayer commentedis there a CVS branch where i can already can get the package, or are you interested in make dev snapshots? Would be kind of handy
thanks
Comment #9
rjerome commentedThe -dev snapshots get produced automatically every twelve hours (I have no control over this).
You can also find the RIS module code here http://drupalcode.org/viewvc/drupal/contributions/modules/biblio/modules...
Ron.
Comment #10
eugenmayer commentedThank you very much!
Comment #11
eugenmayer commentedJust installed 1.15 and it is not included. 6.2 dev actually broke bibtex and ris export ( not working at all ).
Are you going to include this in the 1.x branch at all?
Comment #12
rjerome commentedNo, I wasn't planning on it. 2.x will become the official release in the not too distant future.
Comment #13
eugenmayer commentedComment #14
eugenmayer commentedActually i dont mean the export, rather the import. Thanks
Comment #15
rjerome commentedCould you be more specific when you say "6.2 dev actually broke bibtex and ris import ( not working at all )", since it works fine for me. Are you seeing errors?
Comment #16
eugenmayer commentedWell iam testing the dezember release right now, i used Nov 16 before. It might got fixed already. I report back with some detailed informations, sorry for beeing that unspecific
Comment #17
trigun commentedEnclosed I would like to provide a patch to this issue made against 6.x-2.x-dev, fixing the paste functionality for cases in which both RIS and bibtex submodules are enabled.
The issue apparently encountered by EugenMayer probably is that RIS and bibtex-submodules use form elements with the same name, hence this patch uses suffixes to namespace the elements. Also, bibtex #maxlength is removed.
Further steps: If the user fills both textfields, it would be nice to namespace the submit-buttons properly and add custom validators that remove other submitted fields...
Comment #18
eugenmayer commentedJust fixing the title. Thanks for the work trigun
Comment #19
rjerome commentedAh, when you said import, I thought you meant import from a file as opposed to pasting into the form.
Sorry about that.
Ron.
Comment #20
eugenmayer commentedWe actually tested the patch
Comment #21
rjerome commentedcommitted patch in #17 to 6.x-2.x and 7.x-1.x branches.
Comment #22
eugenmayer commentedThanks rjerome!