question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ID problem, NameID is not shown when adding

See original GitHub issue

Model:

public class Details
{
    public int Id { get; set; }
    public Guid GameId { get; set; }
    public string ShortDescription { get; set; } = string.Empty;                    // Krótki opis np do google, fejsa itp
    public string Description { get; set; } = string.Empty;                         // Opis gry
    public string Background { get; set; } = string.Empty;                          // Tło gry, jeżeli puste to nie ma tła
    public string Logo { get; set; } = string.Empty;                                // Logo gry
    public bool Nsfw { get; set; } = false;                                         // Dla dorosłych
    public int AverageGameTime { get; set; } = 0;                                   // Średni czas gry w godzinach
    public DateTime DateReleased { get; set; } = DateTime.MinValue;                 // Data publikacji
    public DateTime DateLastEdit { get; set; } = DateTime.Now;                      // Ostatnia edycja 
    public DateTime DateCreate { get; set; } = DateTime.Now;                        // Data dodania
}

Panel: image As you can see above, there is no GameId column

I noticed this error when I wanted to enter GUID in the ID, but it turned out to be int and it won’t work.

If I change GUID to relation, unfortunately there is a blank page.

Suggestion: you can add a tag to the model so that the textarea appears instead of input

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
korzhcommented, Jan 15, 2022

I guess adding something like Multiline = true for MetaEntityAttr annotation would be more convenient.

1reaction
korzhcommented, Jan 14, 2022

Hello,

Can’t reproduce this in the newest version (1.4.1-rc01). We have a Guid field in a model class and it has the corresponding text box in the Create or Edit dialog.

As for Id field. If it’s auto-generated, then it’s better to mark it as “Editable = false”, so it will not be shown in the Create/Edit dialogs (and so, the UI will not require to enter its value). In the feature versions we will try to turn “editable” off for such fields automatically. There is an issue about that (#96) already.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to resolve SAML response error invalid name id policy
1 Answer 1 ... The NameID needs to be in the format of "X509 Subject Name". So take the attribute that you are...
Read more >
"Oops: It looks like the NameID is missing" error in PingOne for ...
When configuring PingOne for Enterprise with ADFS, error "Oops: It looks like the NameID is missing" is returned when attempting to do SSO....
Read more >
Issues with adding/configuring custom NameID attributes.
I have configured a custom nameID attribute, emailid, to use with a saml trust relationship. I followed the directions given when on a ......
Read more >
Error: Unable to Log in Using IDP. 'NAME_ID' Not Found in ...
The SAML NameID attribute is missing from the <Subject> element of the SAML assertion response. Solution or Workaround. Open the AD FS ...
Read more >
SAML NameID And EVERFI SSO ID
Illustration of an extract from a SAML Response showing the NameID property and a screen capture of a Foundry User showing the SSO...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found