-
Notifications
You must be signed in to change notification settings - Fork 385
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
Issue when using editor.Tags and reference.SelectRepeater #59
Comments
The issue I'm having with Ponzu in the other thread has to do with exactly the same code.I went back to the recording of the gopher academy training on Ponzu to do the exercise again to get the hang of Ponzu. However the updates to channel.go now result in a panic error as soon as I try to create a new channel via admin. Am i doing something wrong or is this connected to this bug?
The error I get: |
Hi @arjanvaneersel -
Which updates do you mean? |
I obviously haven't been clear. I'm doing the exercise as shown in the recording of the gopher academy training on Ponzu again. After the creation of alle the content types the go files are being changed in the training, so I follow along. The moment when I "update" the editor.Field for Videos, which was just a normal input type, to reference.SelectRepeater and build and run Ponzu again, then I get this error when going into Ponzu's editor for this content type. |
Could you try changing the import path for the "reference" package to this:
"github.com/bosssauce/reference"
That is the canonical path, and although you have the package at the import
path you included, running `$ ponzu build ` will copy that code from your
addon directory into its internal vendor directory where it then compiles
the packages into your project.
…On Mon, Feb 20, 2017 at 20:15 Arjan van Eersel ***@***.***> wrote:
I obviously haven't been clear. I'm doing the exercise as shown in the
recording of the gopher academy training on Ponzu again. After the creation
of alle the content types the go files are being changed in the training,
so I follow along. The moment when I "update" the editor.Field for Videos,
which was just a normal input type, to reference.SelectRepeater and build
and run Ponzu again, then I get this error when going into Ponzu's editor
for this content type.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#59 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AHK1S8hP9eLpngiFTPP8QhkTf017isDSks5remTSgaJpZM4L1psB>
.
|
That indeed did it. I relied on the auto import function of gogland and never even thought about something as simple as checking the import path... Thanks for your help. |
Excellent! Glad it fixed the issue. |
values in fields for select repeaters and tags end up being merged/copied into one another in some scenarios
example where it can be reproduced:
The text was updated successfully, but these errors were encountered: