From: Stephen F. <spf...@gm...> - 2014-04-21 19:42:52
|
Hi Chuming, You should only need to apply the patches once. On our test site we only needed to pull the updates and clear the cache once for the views to update. Can you try clearing your cache again? Lacey mentioned she sometimes has to clear the cache several times. If that does not work, try the following: In the event that the view somehow did get customized then it won't pick up any new default settings. So, just to double-check, go to Structure -> Views and look for the view named 'Feature User Search'. To the right of the view name is an 'Edit' button with a drop-down arrow. Open that drop down and see if there is a 'Revert' option. If so, select that and follow the instructions to revert the view to it's original configuration. Stephen On 4/21/2014 3:29 PM, Chuming Chen wrote: > > On Apr 21, 2014, at 3:13 PM, Stephen Ficklin <spf...@gm... > <mailto:spf...@gm...>> wrote: > >> Hi Chuming, >> >> According to the 'git pull' below you didn't get any updates. If you >> type 'git log' inside of the Tripal directory do you see this comment >> at the top: "updated feature and organism default views" (commit >> #47fb4f92cb497230d879cc8f9e428da5514e553f). That should be the last >> commit that I made which has the adjusted views. > > git log | head > commit 47fb4f92cb497230d879cc8f9e428da5514e553f > Author: Stephen Ficklin <spf...@gm... <mailto:spf...@gm...>> > Date: Mon Apr 21 14:10:28 2014 -0400 > > updated feature and organism default views > > commit d33cf2fcde23e446eed410db92fc76f6abfdf195 > Author: Lacey Sanderson <lac...@78... > <mailto:lac...@78...>> > Date: Thu Apr 17 15:01:52 2014 -0600 > > >> If you do have that commit have you made any customizations to the >> feature search view? >> > > No. > >> We just tested the updates on another site by pulling the latest >> development version and clearing the cache and we see the updates to >> the view. >> >> Stephen > > Do I need to apply patches again? > > >> >> On 4/21/2014 2:30 PM, Chuming Chen wrote: >>> Hi Stephen, >>> >>> Same as before after I run the following commands: >>> >>> # git pull >>> Already up-to-date. >>> # git checkout 7.x-2.x >>> Already on '7.x-2.x' >>> # /usr/local/bin/drush cc all >>> 'all' cache was cleared in /var/www/html/tripal2.0#default *[success]* >>> >>> I also didn’t see your new filter for the unique name and exposed a >>> drop down to specify the scope of the search (e.g. 'contains', 'is >>> equal to', etc…). >>> >>> Chuming >>> >>> >>> On Apr 21, 2014, at 2:12 PM, Stephen Ficklin <spf...@gm... >>> <mailto:spf...@gm...>> wrote: >>> >>>> Hi Chuming, >>>> >>>> Yes, you are correct. There seems to be a problem with that view. >>>> I have just committed some changes that may fix the problem for >>>> you. I have added a filter for the unique name and exposed a drop >>>> down to specify the scope of the search (e.g. 'contains', 'is equal >>>> to', etc...). >>>> >>>> You'll want to pull the latest code and clear the cache. >>>> >>>> Let me know if that helps. >>>> Stephen >>>> >>>> On 4/21/2014 1:48 PM, Chuming Chen wrote: >>>>> Hi Stephen, >>>>> >>>>> On Apr 21, 2014, at 1:26 PM, Stephen Ficklin <spf...@gm... >>>>> <mailto:spf...@gm...>> wrote: >>>>> >>>>>> Hi Chuming, >>>>>> >>>>>> Here are some questions to help debug: >>>>>> >>>>>> 1) Do you have any features synced (e.g. gene, mRNA, contig)? >>>>>> Only features that are synced will have links >>>>> >>>>> Yes. I have synced all my features. I can see the URL links from >>>>> feature browser. >>>>> >>>>>> 2) If you do have synced features and if you search by the >>>>>> specific type (e.g. gene, mRNA, contig) do you still not see links? >>>>> >>>>> When I select specific type, but put nothing in the “Name >>>>> contains”, I got a paginated table list of features of that type >>>>> (no URL links on any column). >>>>> >>>>>> 3) Have you applied the patches for views as described in the >>>>>> tutorial: >>>>>> http://www.gmod.org/wiki/Tripal_Tutorial_v2.0#Applying_Patches >>>>>> >>>>> >>>>> Yes. I applied patches before, just re-applied the patches and >>>>> cleaned up the caches. >>>>> >>>>>> When you say "has no effect on the search results" does that mean >>>>>> you get no results, the results listed are always the same no >>>>>> matter what criteria you provide or that the results change but >>>>>> you have no links? >>>>> >>>>> If I leave “Organism common name” and “Type” as “Any”, and put >>>>> something in “Name contains”, I got a paginated table list of >>>>> features (no URL links on any column). Here is the screenshot. >>>>> >>>>> <Mail Attachment.png> >>>>> >>>>>> >>>>>> Stephen >>>>>> >>>>>> On 4/21/2014 9:36 AM, Chuming Chen wrote: >>>>>>> Hi all, >>>>>>> >>>>>>> I have pulled the latest Tripal 2.0 code, but “Feature search” >>>>>>> is still not working. >>>>>>> >>>>>>> 1) no URLs for “Unique Name” or “Name” on the paginated result >>>>>>> table. >>>>>>> 2) whatever I put into “Name contains” input box has no effect >>>>>>> on the search results. >>>>>>> >>>>>>> Thanks, >>>>>>> >>>>>>> Chuming >>>>>>> >>>>>>> # git pull origin 7.x-2.x >>>>>>> From http://git.drupal.org/sandbox/spficklin/1337878 >>>>>>> * branch 7.x-2.x -> FETCH_HEAD >>>>>>> Already up-to-date. >>>>>>> >>>>>>> # /usr/local/bin/drush updatedb >>>>>>> No database updates required *[success]* >>>>>>> Finished performing updates. *[ok]* >>>>>>> >>>>>>> # /usr/local/bin/drush cc all >>>>>>> 'all' cache was cleared in /var/www/html/tripal2.0#default >>>>>>> *[success]* >>>>>>> * >>>>>>> * >>>>>>> # git log | head -n 1 >>>>>>> commit d33cf2fcde23e446eed410db92fc76f6abfdf195 >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------------------------------ >>>>>>> Start Your Social Network Today - Download eXo Platform >>>>>>> Build your Enterprise Intranet with eXo Platform Software >>>>>>> Java Based Open Source Intranet - Social, Extensible, Cloud Ready >>>>>>> Get Started Now And Turn Your Intranet Into A Collaboration Platform >>>>>>> http://p.sf.net/sfu/ExoPlatform >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Gmod-tripal mailing list >>>>>>> Gmo...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/gmod-tripal >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> Start Your Social Network Today - Download eXo Platform >>>>>> Build your Enterprise Intranet with eXo Platform Software >>>>>> Java Based Open Source Intranet - Social, Extensible, Cloud Ready >>>>>> Get Started Now And Turn Your Intranet Into A Collaboration Platform >>>>>> http://p.sf.net/sfu/ExoPlatform_______________________________________________ >>>>>> Gmod-tripal mailing list >>>>>> Gmo...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/gmod-tripal >>>>> >>>> >>> >> > |