Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does import but works with no effect; Bundle does not compile in plone 5 #2

Open
volkerjaenisch opened this issue Feb 29, 2016 · 5 comments

Comments

@volkerjaenisch
Copy link

Hi!
Cloned via git, bootstrapped, included in buildout as dev package, imported into plone.
@@minimalpatterndemo is accessible but does not work - only 3 times "uh-what".
Resource registry shows the resources and the bundle correctly.
Trying to compile the bundle results in "NetworkError: 404 Not Found - http://localhost:8080/Plone/pat-base.js"

I noticed that in Mockup the name for the base component is "mockup-pattern-base" and not "pat-base" as in the config.js of mockup-minimalpattern. May that be the cause?

Best regards
Volker

@volkerjaenisch
Copy link
Author

As expected. Changing "pat-base" to "mockup-pattern-base" solved the problem. Seems that this minimal-pattern and the Mockup-Package in Plone 5 are slightly diverging.

@gforcada
Copy link
Member

Would you mind providing a pull request to fix it?

@volkerjaenisch
Copy link
Author

Hi!

I am no JS professional. But I can try.

Best

Volker

Am 29.02.2016 um 22:58 schrieb Gil Forcada Codinachs:

Would you mind providing a pull request to fix it?


Reply to this email directly or view it on GitHub
#2 (comment).

inqbus Scientific Computing Dr. Volker Jaenisch
Richard-Strauss-Straße 1 +49(08861) 690 474 0

86956 Schongau-West http://www.inqbus.de

@thet
Copy link
Member

thet commented Mar 1, 2016

Oh, mockup-minimalpattern wasn't updated for changes in mockup 2.0, where it was brought closer to Patternslib.
Should be updated for that..... I'll review, if you make a pull reuqest.

@volkerjaenisch
Copy link
Author

Hi !

Am 01.03.2016 um 11:58 schrieb Johannes Raggam:

Oh, mockup-minimalpattern wasn't updated for changes in mockup 2.0,
where it was brought closer to Patternslib.
Should be updated for that..... I'll review, if you make a pull reuqest.

While reviewing the initial problem (wrong dependencies to old mockup) I
noticed new problems that are not repeatable. The behavior of the plone
TTW compile
is erratic. Some times it works then it refuses to work (Time out,
without a reason (no missing files)). This is dependend on code
changes, deleting of resources TTW and reinstalling the package.

To gain more insight: Is there a way to look into the TTW compile
process? Without at least a stacktrace and a way to debug nobody can
rely on the TTW compile.

Beste regards,

Volker

inqbus Scientific Computing Dr. Volker Jaenisch
Richard-Strauss-Straße 1 +49(08861) 690 474 0

86956 Schongau-West http://www.inqbus.de

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants