Skip to content

The "Data error" occured during load data to a dashlet #6

@Zanzarchik

Description

@Zanzarchik

Hi!

I faced with this problem on the Alfresco 4.2f.

TC:

  1. Set following settings in alfresco-global.properties file:
    audit.enabled=true
    audit.alfresco-access.enabled=true
    audit.tagging.enabled=true
    audit.dod5015.enabled=false
    audit.alfresco-access.sub-actions.enabled=true
    audit.filter.alfresco-access.default.enabled=false
  2. Restart Alfresco to applay this change
  3. Login as admin user
  4. Enable audit dashlet
  5. Create any content

ER: the "CREATE" action and other actions should display in the audit dashlet
AR: the "Data error" occurred

Root cause:
YAHOO.lang.JSON.useNativeParse set to true and Native.parse doesn't correct work with CREATE action JSON representation.

I fixed this by adding:
YAHOO.lang.JSON.useNativeParse = false;

to audit-application.js

But I think this is only WA and needs more effecient solution.

Please, fix this :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions