# Check integrity removing my url fields

**URL:** <https://discourse.jabref.org/t/check-integrity-removing-my-url-fields/123>\
**Category:** Help\
**Created:** [August 9, 2016, 3:51pm UTC](https://discourse.jabref.org/t/check-integrity-removing-my-url-fields/123 "2016-08-09T15:51:58Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sait\_Umar](https://avatars.discourse-cdn.com/v4/letter/s/a6a055/32.png) [@Sait\_Umar](https://discourse.jabref.org/u/Sait_Umar)\
**Post date:** [August 9, 2016, 3:51pm UTC](https://discourse.jabref.org/t/check-integrity-removing-my-url-fields/123/1 "2016-08-09T15:51:58Z")

</div>

Every time I run the check integrity function and fix something all url fields are  
deleted after saving the bib file. Before filing this as a bug I wanted to make sure that  
I am not missing some option some place that makes this happen. Thanks.  
PS: Using 3.6dev daily

---

<div class="post-metadata">

**Author:** ![Siedlerchr](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/siedlerchr/32/216_2.png) [@Siedlerchr](https://discourse.jabref.org/u/Siedlerchr)\
**Post date:** [August 20, 2016, 9:53am UTC](https://discourse.jabref.org/t/check-integrity-removing-my-url-fields/123/2 "2016-08-20T09:53:55Z")

</div>

Hello,

Could you please explain a bit more in detail what the integrity “complains” about in your url-fields?  
There was a problem with detecting an odd number of `#` signs in the url field, which should be fixed in the 3.6dev version:

[https://github.com/JabRef/jabref/issues/1530](https://github.com/JabRef/jabref/issues/1530)

---

<div class="post-metadata">

**Author:** ![Sait\_Umar](https://avatars.discourse-cdn.com/v4/letter/s/a6a055/32.png) [@Sait\_Umar](https://discourse.jabref.org/u/Sait_Umar)\
**Post date:** [August 20, 2016, 12:23pm UTC](https://discourse.jabref.org/t/check-integrity-removing-my-url-fields/123/3 "2016-08-20T12:23:35Z")

</div>

I am not talking about parsing the url field. When I do a general check integrity test and, say, fix a capitalization issue with a title field and save the bib file I see that all my url fields are removed from the bib database (completely removed). I mostly use doi’s but some bibtex entries do not have doi so I use url instead.

---

<div class="post-metadata">

**Author:** ![Siedlerchr](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/siedlerchr/32/216_2.png) [@Siedlerchr](https://discourse.jabref.org/u/Siedlerchr)\
**Post date:** [August 20, 2016, 1:52pm UTC](https://discourse.jabref.org/t/check-integrity-removing-my-url-fields/123/4 "2016-08-20T13:52:08Z")

</div>

Did you run/checked the cleanup operation “Convert fields to Biblatex”?  
That would explain the movement, e.g dois present in the url field are moved to the DOI field.

If this doesn’t explain it, then it would be nice if you could describe some more steps how I could recreate your problem and what you exactly did.

Regards,  
Christoph

---

<div class="post-metadata">

**Author:** ![Sait\_Umar](https://avatars.discourse-cdn.com/v4/letter/s/a6a055/32.png) [@Sait\_Umar](https://discourse.jabref.org/u/Sait_Umar)\
**Post date:** [August 20, 2016, 5:34pm UTC](https://discourse.jabref.org/t/check-integrity-removing-my-url-fields/123/5 "2016-08-20T17:34:30Z")

</div>

This happens after running “check integrity” and saving the bib file. The “clleanup entries” function does not have biblatex conversion on and running it preserves the url fields. Is there and other place where biblatex conversion is checked?

The url fields are ordinary url’s and not doi’s. At the bottom of my database:  
@Comment{jabref-meta: databaseType:bibtex;}

Steps:

1. jabref file.bib (In file.bib some entries contain url fields)
2. run “check integrity…”
3. Make a small correction some place
4. save database
5. See if url fields are still there.

---

<div class="post-metadata">

**Author:** ![Siedlerchr](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/siedlerchr/32/216_2.png) [@Siedlerchr](https://discourse.jabref.org/u/Siedlerchr)\
**Post date:** [August 21, 2016, 10:01pm UTC](https://discourse.jabref.org/t/check-integrity-removing-my-url-fields/123/6 "2016-08-21T22:01:31Z")

</div>

Thanks again for your detailed answer.

You were right, this is a bug, I could reproduce this in the latest dev version, too.  
And it happend both in biblatex and bibtex mode.

I have created an issue for this:  
[https://github.com/JabRef/jabref/issues/1804](https://github.com/JabRef/jabref/issues/1804)

Regards,  
Christoph

---

<div class="post-metadata">

**Author:** ![matthiasgeiger](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/matthiasgeiger/32/7_2.png) [@matthiasgeiger](https://discourse.jabref.org/u/matthiasgeiger)\
**Post date:** [August 23, 2016, 7:56am UTC](https://discourse.jabref.org/t/check-integrity-removing-my-url-fields/123/7 "2016-08-23T07:56:02Z")

</div>

Hi!  
The bug has been fixed and you can use a fixed version by downloading a recent dev build from [http://builds.jabref.org/master](http://builds.jabref.org/master)

Regards  
Matthias

---

<div class="post-metadata">

**Author:** ![Sait\_Umar](https://avatars.discourse-cdn.com/v4/letter/s/a6a055/32.png) [@Sait\_Umar](https://discourse.jabref.org/u/Sait_Umar)\
**Post date:** [August 23, 2016, 1:10pm UTC](https://discourse.jabref.org/t/check-integrity-removing-my-url-fields/123/8 "2016-08-23T13:10:34Z")

</div>

Thank you. It works great.

Prof. Dr. Sait Umar  
Vanderbilt University  
Dept. of Physics & Astronomy  
Box 1807, Station B  
Nashville, TN 37235  
Tel : +1-615-322-2459  
email: [umar@compsci.cas.vanderbilt.edu](mailto:umar@compsci.cas.vanderbilt.edu)  
_Publications [http://compsci.cas.vanderbilt.edu/~umar/umar\_publicat.html](http://compsci.cas.vanderbilt.edu/~umar/umar_publicat.html)_  
_Curriculum Vitae [http://compsci.cas.vanderbilt.edu/~umar/resume.pdf](http://compsci.cas.vanderbilt.edu/~umar/resume.pdf)_
