Code Monkey home page Code Monkey logo

contentreich-alfresco-datalists's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

contentreich-alfresco-datalists's Issues

Filter by date stops working when the date is edited

If you paste a date into one of the date attributes and then you edit the information using the keyboard, the filter for that attribute stops working.
The filter continues to work correctly all the others types of attributes.

Datalists are not updated properly

Alfresco Community 5.0.d
It seems the current list ist not updated properly. New Items to a datalist are not added to the list immediately, only after refresh.
Also when changing from one list to another, first an empty list is shown and after a while the entries appear or in some cases the list even stays empty.

Version history not showing up

Had problems with the version history not showing for a datalistitem anymore. Tracked this down to the form-config where it says:

<show id="cm:versionable"/>

and

<field id="cm:versionable" label-id="form.label.version-history" set="normal">
    <control template="/org/alfresco/components/form/controls/version.ftl" />
</field>

There is no property named cm:versionable, that is the name of the aspect. I think alfresco earlier did not check this up, but just outputted the ftl-content anyway. I changed to the property cm:versionLabel instead and the thing works again. However there is a conditional-statement at the top of the ftl that still are causing me a headache. Will investigate further before making a pull request.

Filter form doesn't work with accented characters

I've just found out that this function is messing with my parameters :

onFilterFormSubmit: function ExtDataGrid_onFilterFormSubmit(){
          //alert(this.formsRuntime.getFormData());
          YAHOO.Bubbling.fire("changeFilter",
          {
             filterOwner: this.id,
             filterId: "filterform",
             filterData: Alfresco.util.toQueryString(this.formsRuntime.getFormData())
          });
      },

This code is into the file /fme-alfresco-extdl-share/src/main/resources/META-INF/components/data-lists/extended-datagrid.js

this.formsRuntime.getFormData()

gets the form data correctly, like:
prop_lab_doenca:"Doença Não Ocupacional"

but when

Alfresco.util.toQueryString(this.formsRuntime.getFormData())

executes, the result is:
prop_lab_doenca=Doen%C3%A7a%20N%C3%A3o%20Ocupacional

This odd value of "Doen%C3%A7a%20N%C3%A3o%20Ocupacional" completely breaks the filter.

@deas Do you know if it is possible to control the Alfresco.util.toQueryString() function to avoid this problem?

date-range filter search seems broken in solr

When filtering by a date-range I got some strange results. Debugging the filterQuery reveals that the query looks like this:

+PARENT:"workspace://SpacesStore/c8c641b8-ab25-4962-8782-5d448822914d" -TYPE:"folder" +@demo\:myDate:[2015-02-06T00:00:00+01:00 TO 2015-02-07T00:00:00+01:00] "

This should not give any results. However changing the date to not use a timezone offset like this:
+PARENT:"workspace://SpacesStore/c8c641b8-ab25-4962-8782-5d448822914d" -TYPE:"folder" +@demo\:myDate:[2015-02-06T00:00:00.000 TO 2015-02-07T00:00:00.000] "

will give a correct result with one hit.

Filter form disappears

After filtering the datalist, if you refresh the page, the filter form simply disappears.

When using default boolean control (checkbox) as filter field the filter stops to work

This is because of the handling of the hidden field being generated for the checkbox. The code in extended-datagrid.js assumes that it is a "select" type when there is an hidden field and the code subsequentially fails on a length check. I don't have time to do a pull request now, but I'll post the fix here so I (or someone else) can do it later on.

                     }else if (element.type == "hidden" && filterData[name].split(",").length > 0)
                         {
                            element.value=filterData[name];
                            var selectElement = Dom.get(element.id+"-entry");
                            if (selectElement.type != "checkbox"){
                               values = filterData[name].split(",");

                               for (var j = 0, jj = selectElement.options.length; j < jj; j++)
                               {
                                  if (Alfresco.util.arrayContains(values,selectElement.options[j].value))
                                  {
                                      selectElement.options[j].selected= true; 
                                  }else{
                                      selectElement.options[j].selected= false;
                                  }
                               }
                            }else {
                                element.value=filterData[name];
                            }

                        }

Solr4 and Datalist Extension

Wondering how this extension is going to work with the new version of Solr released with Alfresco 5.0b.

Doing initial testing and configuration of test server and curious as to how this will play in the new environment

Filter for ID field in TopicList not working

No hits when trying to filter for an issue ID.

Result is an empty set.
This is the Query string POSTed by the browser.

{"fields":["dl_itemId","dl_issueID","cm_title","dl_issueAssignedTo","dl_issueStatus","dl_issuePriority","cm_description","dl_issueDueDate","cm_attachments","fm_discussable"],"filter":{"filterId":"filterform","filterData":{"prop_dl_itemId":"1","prop_cm_title":"","prop_cm_description":"","dl_assigneeFullName":"","prop_dl_issueStatus":"Not Started,In Progress,Complete,On Hold","prop_dl_issuePriority":"High,Low,Normal","prop_cm_creator":"","prop_dl_issueDueDate-date-range":"","prop_cm_created-date-range":""}}}"

No Errors are logged by the server

Also Solr complains about non-incremental updates of TYPE in modelType Datalist.
Disabling model validation by the modelDictionaryType property doValidation in the alfresco policy-context.xml did not help.
Unfortunately Solr has no means to disable Model Validation as you can see in the AlfrescoSolrDataModel.class found here http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/solr/source/java/org/alfresco/solr/AlfrescoSolrDataModel.java.

Add support for d:content properties in datagrid

Just stumbled into this issue. If a property of a custom datalist is of type d:content the datagrid just renders the contentUrl instead of the actual content which would be preferable. A nice addition would be to render text in the datagrid (extended-datagrid.js) if the mimetype indicates that this is possible (text/plain)

The Yahoo Calendars widgets are not initialized

@deas Hey

I'm trying the addon's latest version and I'm facing with a weird behaviour.
I the first time I open a datalist, I see the form correctly rendered, with all the attributes, but if I click on the calendars' buttons in order to show the date picker, nothing happens.
After that, if I execute a filter using any other attribute, the datalist items are filtered correctly, but the date pickers are still not shown.
After executing the filter, if I refresh the page using the browser refresh or resending the url, then the form is re-rendered, but this time, the date pickers work.

I'm trying to find the solution for this, but I couldn't find it so far.... I'm almost all day long trying to fix this.

Do you mind trying to reproduce that?

Thank you.

Addon not working on 4.2.f

Hey @deas

I tried your addon, the new version 1.4.3 on a 4.2.f Alfresco server, but I see nothing "new".
Is it supposed to work by simply dropping the generated jars inside the right folders?
Should I see the "filter screen" for every single datalist I already have or new ones I create after the addon install?
How about the example xml file? Is it a requirement to make it work?
I tried to configure it using my custom datalist type as described by the comments inside the file, but even with that, I saw nothing new.
I know the configuration is being loaded, because I accidentally put some wrong config, and Alfresco complained about those.

Can you help me with that?

Which features are included in version 1.4.5?

Hi,

I've a Alfresco Community 5.0d running and tried the most recent version, version 1.4.5 and version 1.3.1. I do know that you've started to rewrite a huge portion of the code to get rid of overrides and therefore a part of the features are currently not working. My question is, which features are working at the moment and which aren't? With the versions I've tried I got the following results:

1.3.1 --> Shows Excel export and Filter functionality which works flawless with standard datalists. Custom datalist can only be exported and the filter form is pretty broken
1.4.5 --> I only get the paging box per datalist and no other functionality like export or filter
Master Branch--> Same result as 1.4.5

I would like to use the plugin to filter and export my items, and versioning would also be cool but that is a nice to have. So I'm wandering if the functionality isn't there at the moment, did I miss something in the configuration (which isn't needed as far as I know) or did I screw up the deployment of the jar files (put the into there folders as described in the short installation)?

A little insight and help would be much appreciated.

Thanks for your time and best regards

Properties files import not working

@deas I'm facing some problems with the localization properties files not being loaded.

Both

surf.include.resources=org/alfresco/components/data-lists/toolbar.get

and

surf.include.resources=org/alfresco/components/data-lists/datagrid.get

into toolbar.get.propertiesand datagrid.get.properties

Filter for assignee not working

Filtering datalistitems with assignee property set, does not result in any hits.

Reason seems to be that the name of the property "dl_taskAssignee" are not converted correctly somewhere in the call chain, all other properties are prepended with "prop_" which is not the case for dl_taskAssignee. I have yet not figured out where this prepending is done in the code.

Request payload sent to repo:

{"fields": ["dl_itemId","cm_title","cm_description","dl_ganttStartDate","dl_ganttEndDate","dl_taskAssignee","dl_taskPriority","dl_taskStatus","dl_ganttPercentComplete","cm_attachments","fm_discussable"], "filter":{"filterId":"filterform","filterData":{"prop_dl_itemId":"","prop_cm_title":"","prop_cm_description":"","dl_assigneeFullName":"Victor","prop_dl_taskPriority":"High,Normal,Low","prop_dl_taskStatus":"Not Started,In Progress,Complete,On Hold","prop_dl_ganttPercentComplete":"0","prop_cm_creator":"viktor.jacobs","prop_dl_ganttStartDate-date-range":"","prop_dl_ganttEndDate-date-range":"","prop_cm_created-date-range":""}}}

404 error on alfresco-community-4.2.c

The Web Script /alfresco/s/fme/slingshot/datalists/list/node/workspace/SpacesStore/6cc5f05e-67d7-47c1-9975-988c2bcd6586 has responded with a status of 404 - Not Found.

404 Description: Requested resource is not available.

Message: 00110001 Script url /fme/slingshot/datalists/list/node/workspace/SpacesStore/6cc5f05e-67d7-47c1-9975-988c2bcd6586 does not map to a Web Script.

Exception: org.springframework.extensions.webscripts.WebScriptException - 00110001 Script url /fme/slingshot/datalists/list/node/workspace/SpacesStore/6cc5f05e-67d7-47c1-9975-988c2bcd6586 does not map to a Web Script.

org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:173)
org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:118)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1813)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
java.lang.Thread.run(Thread.java:722)

Server: Community v4.2.0 (4576) schema 6,022
Time: Jan 11, 2013 11:33:23 AM

Datalist section layout gets corrupted

Hello!

Adding this plugins brakes the datalist page layout. I'm using the plugin in alfresco 5.0.a, can't tell in previous versions.

My monitor is using FullHD resolution, tested on Firefox.
issue

Need tips to create my own datalist

Hi,
I want to create my own datalist, so I try to customize the extension's code, but I'm faced to problems...
I've modified the contentreich-extdl-datalist-model.xml file in contentreich-alfresco-datalists-master/contentreich-extdl-share/src/main/resources/alfresco/web-extension/, to add my own datalist :

    <!-- Essai de liste customisé : main courante!-->
        <type name="xdl:maincourante">
          <title>Main Courante</title>
          <parent>xdl:dataListItem</parent>
         <properties>
            <property name="xdl:mcTitre">
               <title>Nom de l'évènement</title>
               <type>d:text</type>
               <mandatory>true</mandatory>
            </property>
            <property name="xdl:mcDate">
               <title>Date d'évènement</title>
               <type>d:date</type>
               <mandatory>true</mandatory>
            </property>
            <property name="xdl:mcDescription">
               <title>Description</title>
               <type>d:text</type>
               <mandatory>true</mandatory>
            </property>
              <property name="xdl:mcTags">
                 <title>Tags</title>
                 <type>d:text</type>
                 <mandatory>false</mandatory>
              </property>
                 <property name="xdl:mcLiens">
                 <title>Lien vers documents externes</title>
                 <type>d:text</type>
                 <mandatory>false</mandatory>
              </property>
        </properties>       
          <mandatory-aspects>
             <aspect>cm:titled</aspect>
             <aspect>cm:attachable</aspect>
         </mandatory-aspects>
        </type>

and I modified the example file : my-custom-datalists-context.xml to place it (with the same name) in contentreich-alfresco-datalists-master\contentreich-extdl-share\src\main\resources\alfresco\web-extension

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
    <bean id="myExtension.dictionaryBootstrap" parent="dictionaryModelBootstrap"
        depends-on="dictionaryBootstrap, extension.dictionaryBootstrap">
        <property name="labels">
            <list>
                <value>alfresco/extension/model/my-custom-datalists-context</value><!-- FIXME THIS IS YOUR MODEL LABELS/MESSAGES-->
            </list>
        </property>
        <property name="models">
            <list>
                <value>alfresco/extension/model/my-custom-datalists-context.xml</value><!-- FIXME THIS IS YOUR MODEL DEFINING the my:datalist-->
            </list>
        </property>
    </bean>

  <bean id="dataListTypes" class="org.springframework.beans.factory.config.MethodInvokingFactoryBean" depends-on="datalistFormFilterNode">
        <property name="targetObject" >
            <ref bean="datalistFormFilterNode"/>
        </property>
        <property name="targetMethod" value="setDatalistTypes" />
        <property name="arguments">
            <!-- These are taken from the forms config for now --> 
            <set>
                 <value>xdl:maincourante</value><!-- FIXME THIS IS YOUR CUSTOM DATALIST DEFINED IN THE MODEL LOADED -->
                 <value>xdl:simpletask</value>
                 <value>xdl:contact</value>
                 <value>xdl:eventAgenda</value>
                 <value>xdl:todoList</value>
                 <value>xdl:task</value>
                 <value>xdl:issue</value>
                 <value>xdl:event</value>
                 <value>xdl:location</value>
                 <value>xdl:meetingAgenda</value>
             </set>
        </property>
    </bean>
      <bean id="dataListTypesType" class="org.springframework.beans.factory.config.MethodInvokingFactoryBean" depends-on="datalistFormFilterType">
        <property name="targetObject" >
            <ref bean="datalistFormFilterType"/>
        </property>
        <property name="targetMethod" value="setDatalistTypes" />
        <property name="arguments">
            <!-- These are taken from the forms config for now --> 
            <set>
                 <value>xdl:maincourante</value><!-- FIXME THIS IS YOUR CUSTOM DATALIST DEFINED IN THE MODEL LOADED -->
                 <value>xdl:simpletask</value>
                 <value>xdl:contact</value>
                 <value>xdl:eventAgenda</value>
                 <value>xdl:todoList</value>
                 <value>xdl:task</value>
                 <value>xdl:issue</value>
                 <value>xdl:event</value>
                 <value>xdl:location</value>
                 <value>xdl:meetingAgenda</value>
             </set>
        </property>
    </bean>
       <!-- Download a datalist as Excel XLS / XLSX -->
  <bean id="modelOrder" class="org.springframework.beans.factory.config.MethodInvokingFactoryBean" depends-on="webscript.de.contentreich.slingshot.datalists.list.get">
        <property name="targetObject" >
            <ref bean="webscript.de.contentreich.slingshot.datalists.list.get"/>
        </property>
        <property name="targetMethod" value="setModelOrder" />
        <property name="arguments">
            <!-- These are taken from the forms config for now --> 
           <map>
              <entry key="xdl:maincourante"> 
                <value>xdl:itemId,xdl:mcTitre,xdl:mcDate,xdl:mcDescription,xdl:mcTags,xdl:mcLiens,cm:titled,cm:attachable<!-- FIXME THIS IS YOUR CUSTOM DATALIST DEFINED IN THE MODEL LOADED, ADD THE FIELD YOU NEED EXPORTED --></value> 
              </entry>
[...]

but when I try to launch alfresco with the new jar files, I've this error :

2015-08-21 10:49:45,526  ERROR [web.context.ContextLoader] [localhost-startStop-1] Context initialization failed
 org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'myExtension.dictionaryBootstrap' defined in URL [jar:file:/opt/alfresco/tomcat/webapps/share/WEB-INF/lib/contentreich-extdl-share-2.0.0-SNAPSHOT.jar!/alfresco/web-extension/my-custom-datalists-context.xml]: Could not resolve parent bean definition 'dictionaryModelBootstrap'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'dictionaryModelBootstrap' is defined
        at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:1180)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:1125)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1111)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:612)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
        at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5524)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1081)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1877)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'dictionaryModelBootstrap' is defined
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:575)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1111)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:892)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:1166)
        ... 21 more

I think I've don't understand what is it expect in the customisation of this line in my-custom-datalists-context.xml :

property name="labels"> <list> <value>alfresco/extension/model/ ??
and 
<property name="models"> <list> <value>alfresco/extension/model/ ??

Could you help me ?
Thanks!

Best regards

How about removing the 4.0.x branch?

I think keeping the 4.0.x branch now is just something more to worry about when we fix or change something.

What do you think about removing it?

No bean named 'datalistFormFilterNode' is defined

Hello!

I'm pretty new to Alfresco and I'm just starting to set up Alfresco as company needings. We have managed to set up a datalist with information that must be downloaded using xls, hence we have installed your extension under Alfresco 5.0d

We are receiving the following error when trying to load a custom xml modified by using your example provided:

org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'datalistFormFilterNode' is defined
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:575)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1111)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:276)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:283)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:615)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
        at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
        at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5524)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1081)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1877)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

Any tips to fix this? All help will be more than welcome.
Thanks for your time!!

Xlsx Export doesn't work

Hello!

I am working with Alfresco Community 5.0d and tried the contentreich-alfresco-datalists 2.0.0-SNAPSHOT. If I try to export any standard datalist I get following Exception:

Caused by: org.alfresco.service.cmr.repository.TemplateException: 09220014 Fehler bei der Verarbeitung der Mustervorlage 'The following has evaluated
to null or missing:
==> writeExcel [in template "de/contentreich/slingshot/datalists/list.get.xlsx.ftl" at line 1, column 58]

Can you please help me?

Error on Alfresco Community 4.0.e

00160002 Wrapped Exception (with status template): 00160096 Failed to execute script 'classpath*:alfresco/extension/templates/webscripts/org/alfresco/slingshot/datalists/data.post.json.js': 00160095 Error executing xpath: xpath: * []

default sorting not functional

Seems to be aspect name instead of property name used as sort-parameter in both data.post.json.ftl and filters.lib.js

No Class Def Found Error

Error creating bean with name 'webscript.de.fme.slingshot.datalists.list.get' defined in class path resource [alfresco/extension/fme/fme-extended-datalist-context.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/alfresco/service/cmr/i18n/MessageLookup

i get this on vanila Alfresco 4.2.b when fme-alfresco-extdl-repo-1.3.1.jar installed on tomcat/webapps/alfresco/WEB-INF/lib

is because missing messages folder and/or properties file?

not working. shows a strange error message

When i applied filter i got following error message
04250002 Wrapped Exception (with status template): 04250003 Failed to execute script 'classpath*:alfresco/extension/templates/webscripts/org/alfresco/slingshot/datalists/data.post.json.js': 04250002 Failed to execute search: +PARENT:"workspace://SpacesStore/fd070166-45a2-4ac9-bffb-af8a8266ffb4" -TYPE:"folder" +@dl:ganttPercentComplete:"0" +@dl:taskStatus:"Complete" +( @dl:taskPriority:"High" OR @dl:taskPriority:"Low" OR @dl:taskPriority:"Normal") +PARENT:"workspace://SpacesStore/fd070166-45a2-4ac9-bffb-af8a8266ffb4" -TYPE:"cm:systemfolder" -TYPE:"fm:forums" -TYPE:"fm:forum" -TYPE:"fm:topic" -TYPE:"fm:post" -ASPECT:"cm:workingcopy". message.info.refresh

Development of 5.0 compatible version

We really like this addon and have been using it for a while now. Is there any chance that a 5.0 version is in the works. We are testing on 5.0b nightlies now. I think current versions require the use of Lucene indexes and 5.0 search with SOLR is huge

datalist addon and personal datalist

HI,

I'm a novice in Alfresco...

I create a personal datalist (using a web tutorial) adding at share-datalist-form-config.xml, datalistModel.xml and data-list-model_es.properties in Alfresco 4.2.e installation my own datalist...

I installed your addon. It runs with the defaults dalists but in my datalist says that: "form definition not found"...

which file I need to edit the addon to work on my own datalist?

"Created by Me" not working

I installed the extension in Alfresco Community 4.2.c.

Error message pops up: 06250003 Wrapped Exception (with status template): 06250143 Failed to execute script 'classpath*:alfresco/extension/templates/webscripts/org/alfresco/slingshot/datalists/data.post.json.js': 06250142 TypeError: Cannot call method "getFieldNames" of undefined (jar:file:/opt/alfresco/tomcat/webapps/alfresco/WEB-INF/lib/fme-alfresco-extdl-repo-1.2.jar!/alfresco/extension/templates/webscripts/org/alfresco/slingshot/datalists/data.post.json.js#825)

I'm still digging the js files. Does anyone get any clue?

Cannot call method "getFieldNames" on alfresco 4.2f

After installing the plugin (using the master branch), I go to create a new datalist, create a new item and receive the following error:
05160003 Wrapped Exception (with status template): 05160228 Failed to execute script 'classpath*:alfresco/extension/templates/webscripts/org/alfresco/slingshot/datalists/data.post.json.js': 05160227 TypeError: Cannot call method "getFieldNames" of undefined (jar:file:/opt/alfresco-4.2.f/tomcat/webapps/alfresco/WEB-INF/lib/fme-alfresco-extdl-repo-1.2.jar!/alfresco/extension/templates/webscripts/org/alfresco/slingshot/datalists/data.post.json.js#825)

Upload & Attach functionality

Hi,
I am an old user of this alfresco's datalist extension, and I'm currently trying this new version but I can't see anymore the upload and attach functionnality when you add a new entry in a datalist... This is important a tool for my use!
Is there a way to get back this functionality? If not, is it planned to put it back ?

Thanks for your answer!

Include more installation details

I think it would be nice to have more information about things like the module deploy you told me.
Another important thing is to remove the sample file, since it's not really needed. Actually, if you do the "FIX" into the sample config file, you will face problems, as datalistFormFilterNode and datalistFormFilterType are commented into the project, and this will make alfresco startup to fail.

One more thing. Please, make the information about the form with id="filter" explicit, since that's what define how the filter form should be displayed to the user.

I'm still playing with it, so wait for more feedback in the next few days.

"Reset" action button doesn't reset the form correctly

After playing with the filter form a bit, we have noticed that the Reset button is not working correctly.
It seems the form is not completely ready, as, for example, the date-range control has not links configured on the calendar icon, making it impossible to select the date.

The problem happens both for 4.2.f and 5.0.d.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.