Alfresco Community 5.0.b

cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco Community 5.0.b

kevinr1
Established Member
0 13 29.4K
I'm pleased to announce that the Alfresco Community 5.0.b release is planned within the next few days. This will be the second Alfresco Community 5.0 release and is based on very latest public community code-line.



Alfresco 5 is built with maven. All artifacts are available on the Alfresco nexus.



Here are some of the exciting new features and improvements that you will find in 5.0.b. Many of these features have improved since 5.0.a, so it is recommended you read the Alfresco Community 5.0.a post first if you have not already done so!

Search Improvements



Search is an area we have improved greatly since Alfresco 4 and even more improvements are present in 5.0.b. Firstly a big step forward - Solr 4 is now the default search and indexing sub-system in Alfresco. I know this has been a long time coming but it is worth the wait! There is some great new search functionality we have been able to expose because of Solr 4, and there will be more in future releases.

Live Search



Since 5.0a the instant search results feature (Live Search) has been improved again and is now more reliable and able to show Wiki and Blog items as well as Documents, People and Sites in the list.



[caption id='attachment_245' align='alignnone' width='226']Instant results in Live Search window. Instant results as you type in Live Search.[/caption]

Filtered Search Results



We first showed an early version of Filtered Search Results in Community 5.0.a built using Solr 1.4, but now with Solr 4 this is faster and more configurable. An administrator can use the interface to add/remove/configure facets, including size and date ranges, Site, Tag and your own custom property filters.



[caption id='attachment_241' align='alignnone' width='632']Select and configure the filters to display in the search screen. Select and configure the filters to display in the search screen.[/caption]

Suggest, Spell Check and Did you Mean?



The search experience continues to improve in 5.0b with the addition of Solr 4 features 'suggest' and 'spell check/did you mean'. The 'suggest' feature performs real-time matching of the current phrase against text phrases extracted from the name, title, description and content of documents.



[caption id='attachment_246' align='alignnone' width='640']Suggestions based on the search text. Suggestions based on the search text.[/caption]



Suggest in combination with Live Search mean that exploratory searching is now genuinely useful and fun in Alfresco! The 'spell check' and 'did you mean' features will help the user correct simple spelling mistakes and suggest possible results from the index if no results for the specified query were found.



[caption id='attachment_240' align='alignnone' width='532']My spelling is not good, but Alfresco is going to help me here! My spelling is not good and didn't match a thing, but Alfresco is going to help me out here![/caption]



[caption id='attachment_243' align='alignnone' width='537']Did you mean this? Did you mean this?[/caption]



If you can't find what you want now in Alfresco, it probably isn't there! As well as inline actions which appeared in 5.0a, document content can now be previewed directly in the search results page without navigating away. It's worth mentioning that even if you do leave the results page, the various filters, settings and sorting features you have applied are fully bookmarkable in your browser and you will be able to navigate back as needed.



[caption id='attachment_244' align='alignnone' width='640']html5 preview Inline HTML5 document previews - without leaving the search results page.[/caption]

Alfresco Surf 5.0 and Aikau framework



Alfresco Surf is now part of the main Alfresco HEAD codeline and built as part of core Alfresco maven build. Surf has had a number of performance and memory usage improvements. All of which are easier to manage going forward now it is part of the main Alfresco build. The Aikau framework continues to improve - the new search results page and components are built using it. Developer docs are starting to appear and there are plenty of blog post tutorials also.

Activities



Activities are now generated by Share when a user previews or explicitly performs a Download action. This generates quite a lot more activities - so the number that can be processed by the repository has been improved and in the Share Activities dashlet a roll-up of similar activities now occurs. Also similar activities are rolled up in the notification emails that are generated.



[caption id='attachment_242' align='alignnone' width='632']Read and Preview activities - roll-up in Activities dashlet. Read and Preview activities - roll-up in Activities dashlet.[/caption]

Analytics



A taster of the forthcoming analytics features in Alfresco can be found in this version with two new Share dashlets; Site File Type Breakdown and Site Contributor Breakdown. A lot more will be coming around analytics in future Alfresco releases.



[caption id='attachment_239' align='alignnone' width='414']Pretty graphs, you love pretty graphs right? Pretty graphs, you love pretty graphs right?[/caption]

Internals



In Alfresco 5 we have made a big push on upgrading dependent libraries - a lot of developers have been asking for this. As well as moving to Solr 4.9.1, we have upgraded to Spring 3.2.10, myBatis 3.2.7, OpenCMIS 0.11.0, Activiti 5.16.2 and many more. The bundled JDK is 7.0.67 and office document transformation quality and performance is improved using LibreOffice 4.2.5.

Miscellaneous



Various UI tweaks and improvements, including Share header area clean-up.

Installed 3rd party components



Java 1.7.0_67, Tomcat 7.0.53, PostgreSQL 9.3.5, LibreOffice 4.2.5, ImageMagick 6.8.6

Translations



As usual the Share translations have been improved and updated. Translations include: French, German, Italian, Spanish, Japanese, Dutch, Russian, Norwegian, Simplified Chinese, Brazilian Portuguese.

Bugs



Lots of bugs have been fixed as usual. See the list of fixed bugs since the 5.0a release.

In Summary



We hope you enjoy this Alfresco Community release! Please leave feedback on the forums as usual and raise bugs in JIRA.
13 Comments
blog_commenter
Active Member
Great post! The things missing in 5.0a have been have tackled here!
blog_commenter
Active Member
Hmmm... Installed 5.0.b just now with Solr 4 enabled and getting loads of these errors repeatedly:



Job Solr.ContentTracker-alfresco threw an unhandled Exception:

java.lang.NumberFormatException: null

        at java.lang.Long.parseLong(Long.java:404)

        at java.lang.Long.parseLong(Long.java:483)

        at org.alfresco.solr.SolrInformationServer.getFieldValueLong(SolrInformationServer.java:588)

        at org.alfresco.solr.SolrInformationServer.getTrackerInitialState(SolrInformationServer.java:996)

        at org.alfresco.solr.tracker.AbstractTracker.getTrackerState(AbstractTracker.java:251)

        at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:144)

        at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)

        at org.quartz.core.JobRunShell.run(JobRunShell.java:216)

        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)

kevinr1
Established Member
Yes this is a race condition caused on startup - doesn't always happen and wasn't spotted in initial 5.0.b testing.

However, the good news is that it has been fixed today in r88024 on HEAD. The next nightly build will have the fix.
blog_commenter
Active Member
[…] Alfresco 5 we have added two new types of events to the activity stream – for document Download and Preview events. Some concerns have been raised about the number of activities that may be added to a site or […]
blog_commenter
Active Member
[…] Alfresco 5 we have added two new types of events to the activity stream – for documentDownload and Preview events. Some concerns have been raised about the number of activities that may be added to the site or […]
blog_commenter
Active Member
setup wizard for linux alfresco-community-5.0.b-installer-linux-x64.bin build on 2014-10-96 doesn't contain this fix.
blog_commenter
Active Member
I have  been  a victim of the issues with solr 4.  I have come up with a fix that solved the problems on 5.0.b  for me.  Its here.



cheers

Andreas
blog_commenter
Active Member
You didn't mention that ?guest=true is not possible anymore. Is there any alternative?
kevinr1
Established Member
Thank for making the patch available. The issue is fixed in HEAD now and will be available in the 5.0.c version coming soon.
kevinr1
Established Member
APIs that previously supported guest?true still do - can you be more specific?
blog_commenter
Active Member
I am new to Alfresco, having just downloaded the Community edition.



How do I rename field names? I've looked at the following solution, proposed by Jeff Potts but I can't get it to work:



http://stackoverflow.com/questions/10239114/alfresco-share-renaming-label-on-workflow-forms
blog_commenter
Active Member
Hi,



What do you have to do in order to migrate from alfresco 5.0.b to 5.0.c?



My guessing is that I just should replace .war files, but not sure.



Thanks in advance.
kevinr1
Established Member
Yes stop all servers, replace WAR files with latest (delete exploded war folders if present) and restart all servers. Alfresco will automatically upgrade the schema between versions.