ng-admin icon indicating copy to clipboard operation
ng-admin copied to clipboard

Fix embedded list validation

Open SzHeJason opened this issue 7 years ago • 14 comments

fix #1083

SzHeJason avatar Jan 04 '17 10:01 SzHeJason

Your changes are failing the maEmbeddedListFieldSpec.js test. Can you please have a look?

Phocea avatar Jan 04 '17 11:01 Phocea

IT tests are failing but this is not a problem with your code. @Kmaschta do you know why this still occurs ?

Phocea avatar Jan 04 '17 16:01 Phocea

@Phocea: no idea for tests. I just relaunched Travis. Wait and see. :)

jpetitcolas avatar Jan 05 '17 08:01 jpetitcolas

@jpetitcolas same problem as last year. If merging from a fork, Selenium test are started on a fixed IP (http://172.17.0.12:54413/wd/hub), if merging from a master branch then they are started using dns (http://ondemand.saucelabs.com:80/wd/hub)..

@SzHeJason I agree with @jpetitcolas, the unit test has been fixed but would be great to add a specific test case verifying that the validation is working. And also add an example in the blog config

Phocea avatar Jan 05 '17 08:01 Phocea

still fail,I will try to make unit test

SzHeJason avatar Jan 05 '17 16:01 SzHeJason

@SzHeJason if only the IT tests are failing, dont worry about it for now. What we would like is a better understanding of your fix. Why do you initialise the formName inside the full scope for instance?

Phocea avatar Jan 05 '17 16:01 Phocea

I optimized and resubmitted my code that it is very close to master branch

SzHeJason avatar Jan 06 '17 15:01 SzHeJason

Ok, the PR #1288 proved that you just need to rebase to pass the current tests.

Can you rebase from master and add a test for your fix as requested by @jpetitcolas? Thanks!

Kmaschta avatar Jan 07 '17 17:01 Kmaschta

@jpetitcolas are the changes done ok for you ?

Phocea avatar Mar 07 '17 11:03 Phocea

@SzHeJason Thanks for the rebase. Can you apply the @jpetitcolas request changes ?

Kmaschta avatar Mar 08 '17 08:03 Kmaschta

I'm not sure to understand this fix. Can you elaborate and add a test proving the bug resolution? From what I see, there is no test updates. :)

And, yes, don't worry about failing E2E tests.

jpetitcolas avatar Mar 08 '17 08:03 jpetitcolas

So is embedded_list validation fixed after all? I have the latest version of ng-admin and it still doesn't work.

StefanNedelchev avatar Nov 21 '18 15:11 StefanNedelchev

Sorry @hardmaster92, we're focusing our attention to marmelab/react-admin as of now and the activity on ng-admin is limited to absolute necessary.

Kmaschta avatar Nov 21 '18 15:11 Kmaschta

Sorry @hardmaster92, we're focusing our attention to marmelab/react-admin as of now and the activity on ng-admin is limited to absolute necessary.

Sorry to hear that. Then I hope some git user with free time to fix this issue.

StefanNedelchev avatar Nov 21 '18 15:11 StefanNedelchev