Giter Club home page Giter Club logo

aem-communities-srp-browser's Introduction

aem-communities-srp-browser's People

Contributors

bhardwajrahul20 avatar coatpont avatar stefanseifert avatar wyattjcooper avatar

Stargazers

 avatar  avatar  avatar

Watchers

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

aem-communities-srp-browser's Issues

Not able to see custom properties through SRP browser

Not able to see custom properties when I browse the resource . A property with name "account_number" was stored programmatically under resource "/content/usergenerated/asi/cloud/giftcardcontent2". Below is the response I received when browsed the above resource using SRP browser.

Object
contentComponent:null
hasChildren:true
parent:"/content/usergenerated/asi/cloud"
properties:Object
path:"/content/usergenerated/asi/cloud/giftcardcontent2

I am able to see the custom property "account_number" when I printed the resource properties in the program logs which is reading the resource "/content/usergenerated/asi/cloud/giftcardcontent2". Below is the property map of that resource printed in logs in which I am able to see the custom property.

{social:parentid=/content/usergenerated/asi/cloud, account_number=5650, social:key=/content/usergenerated/asi/cloud/giftcardcontent2, added=java.util.GregorianCalendar[time=1572502290799,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="America/Chicago",offset=-21600000,dstSavings=3600000,useDaylight=true,transitions=235,lastRule=java.util.SimpleTimeZone[id=America/Chicago,offset=-21600000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=3,startMonth=2,startDay=8,startDayOfWeek=1,startTime=7200000,startTimeMode=0,endMode=3,endMonth=10,endDay=1,endDayOfWeek=1,endTime=7200000,endTimeMode=0]],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2019,MONTH=9,WEEK_OF_YEAR=44,WEEK_OF_MONTH=5,DAY_OF_MONTH=31,DAY_OF_YEAR=304,DAY_OF_WEEK=5,DAY_OF_WEEK_IN_MONTH=5,AM_PM=0,HOUR=1,HOUR_OF_DAY=1,MINUTE=11,SECOND=30,MILLISECOND=799,ZONE_OFFSET=-21600000,DST_OFFSET=3600000], language=, id=/content/usergenerated/asi/cloud/giftcardcontent2}

SRP Browser throwing errors

The SRP Browser UI fails to load. error.log throws below error. Basically the minification of srp-tools.js is failing. I am using 6.2 SP1. Is any hotfix needs to be installed to get the tool working?

14.04.2017 10:43:01.423 ERROR [132.174.139.184 [1492180981394] GET /etc/clientlibs/srp-tools.min.js HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.YUIScriptProcessor
[ERROR] 4722:26:missing variable name
14.04.2017 10:43:01.423 ERROR [132.174.139.184 [1492180981394] GET /etc/clientlibs/srp-tools.min.js HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.YUIScriptProcessor
[ERROR] var final = path.substr(path.lastIndexOf('/') + 1);
14.04.2017 10:43:01.423 ERROR [132.174.139.184 [1492180981394] GET /etc/clientlibs/srp-tools.min.js HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.YUIScriptProcessor
[ERROR] 4723:59:identifier is a reserved word
14.04.2017 10:43:01.423 ERROR [132.174.139.184 [1492180981394] GET /etc/clientlibs/srp-tools.min.js HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.YUIScriptProcessor
[ERROR] var newNode = this.createNode({text: final, nodes: [], count: 0, color: this.ugcNodeColor, type: "UGC", path:json.children[i].path });
14.04.2017 10:43:01.424 ERROR [132.174.139.184 [1492180981394] GET /etc/clientlibs/srp-tools.min.js HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.YUIScriptProcessor
[ERROR] 1:0:Compilation produced 10 syntax errors.
14.04.2017 10:43:01.424 ERROR [132.174.139.184 [1492180981394] GET /etc/clientlibs/srp-tools.min.js HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.YUIScriptProcessor
[ERROR] null
14.04.2017 10:43:01.424 ERROR [132.174.139.184 [1492180981394] GET /etc/clientlibs/srp-tools.min.js HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.HtmlLibraryManagerImpl Error during assembly of library.
org.mozilla.javascript.EvaluatorException: Compilation produced 10 syntax errors.
at com.adobe.granite.ui.clientlibs.impl.YUIScriptProcessor$1.runtimeError(YUIScriptProcessor.java:145)
at org.mozilla.javascript.Parser.parse(Parser.java:396)
at org.mozilla.javascript.Parser.parse(Parser.java:340)
at com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScriptCompressor.java:315)
at com.yahoo.platform.yui.compressor.JavaScriptCompressor.(JavaScriptCompressor.java:536)
at com.adobe.granite.ui.clientlibs.impl.YUIScriptProcessor.minifyJS(YUIScriptProcessor.java:121)
at com.adobe.granite.ui.clientlibs.impl.YUIScriptProcessor.process(YUIScriptProcessor.java:116)
at com.adobe.granite.ui.clientlibs.impl.AbstractBuilder.build(AbstractBuilder.java:86)

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.