Git Product home page Git Product logo

sanecleanup's People

Contributors

mpern avatar thendricks0 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

sanecleanup's Issues

CCV2 Server startup error

Server Startup on CCV2 environment failed with error as below:

      Caused by: org.springframework.beans.FatalBeanException: 
      Context hybris Global Context Factory  couldn't  be created correctly due to, Error creating bean with name 'saneVersionRangeEvaluator' defined in 
      class path resource [sanecleanup-spring.xml]: Unexpected exception during bean creation; nested exception is 
      org.springframework.beans.factory.BeanExpressionException: Expression parsing failed; 
      **nested exception is java.lang.NumberFormatException: For input string: "1-e98b768-feature-HYB-cleanup-extension"**

Checked the build logs from CCV2 and below details might be useful to debug this:

############ BEGIN: Build metadata ############
build.version=2005.8-2005-2202.26-20220405.1-e98b768-feature-HYB-cleanup-extension
project.repository.revision=e98b768
project.repository.branch=feature-HYB-cleanup-extension
product.version=2005.8-2005-2202.26
############ END: Build metadata ############

excessive-platform-types.groovy execution fails in Groovy Console

I am running Hybris v1811
I included sanecleanup extension and as per guided, I ran excessive-platform-types.groovy prior to running system update for hook execution for resources import.
The groovy did not ran successfully and following stacktrace was shown:

Script execution has failed [reason: org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'de.hybris.platform.servicelayer.search.impl.DefaultFlexibleSearchService$$EnhancerBySpringCGLIB$$32fc0d45@252d3db9' with class 'de.hybris.platform.servicelayer.search.impl.DefaultFlexibleSearchService$$EnhancerBySpringCGLIB$$32fc0d45' to class 'groovy.lang.Reference']

The other mentioned groovy check-audit.groovy ran successfully.

Links to SAP Article are dead

Hi Markus,

I would love to read your article that you reference multiple times, but the link no longer works.
Is the article available elsewhere, and can you update the links to point at the new url ?

Best regards
Anders Olsen

sanecleanup-items.xml is not a valid XML document

Getting below error with latest code i.e. 3.4.0 version. Version 3.3.0 was working fine.
Invalid content was found starting with element 'include'. One of '{key}' is expected.
We are using commerce cloud 2005.

Logs:
[schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:11:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected.
[schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:23:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected.
[schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:35:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected.
[schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:45:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected.
[schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:56:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected.
[schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:67:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected.
[schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:79:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected.
[schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:89:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected.
[schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:100:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected.
[schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:110:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected.
[schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:119:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected.
[schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:130:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected.
[schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:140:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected.
[schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:150:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected.
[schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:160:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected.
[schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:170:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected.
[schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:182:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected.
[schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:193:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected.
[schemavalidate] hybris/bin/custom/sanecleanup/resources/sanecleanup-items.xml:204:46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{key}' is expected.

BUILD FAILED

compilation fails in commerce 2105.7

Hi Markus,
With commerce 2105.7 compilation of sanecleanup extension fails because CMSVersionModel._CMSVERSIONGCPROCESS2CMSVERSION doesnt exist anymore (relation CMSVersionGCProcess2CMSVersion does not exist anymore in cms2-items.xml).

ERROR in /hybris/bin/custom/xyz/sanecleanup/src/mpern/sap/cleanup/cms2/CMSVersionGCPerformable.java (at line 152)
        ComposedTypeModel relationType = typeService.getComposedTypeForCode(CMSVersionModel._CMSVERSIONGCPROCESS2CMSVERSION);
                                                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_CMSVERSIONGCPROCESS2CMSVERSION cannot be resolved or is not a field
----------
1 problem (1 error)

Best Regards,
Joachim

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.